AI for property management · Updated November 24, 2026

Affordable housing and HUD compliance through the Darcy API

Quick answer

Darcy's REST API and MCP server cover affordable housing work: housing programs, household certifications and their members, income limits, utility allowances, HAP contracts and payments, EIV report imports, LIHTC findings, Mitchell-Lama, and regulatory agreements. generate_tracs_mat10 and generate_tracs_mat30 build TRACS 2.0.3.A tenant and voucher files to HUD's MAT Guide, and staff send each file to TRACS themselves and record the answer. record_hap_payment requires an Idempotency-Key, and over MCP a person approves each write and each message. The API is included in Darcy's $2 per active unit plan.

Darcy's REST API and MCP server cover affordable housing work: housing programs, household certifications and their members, income limits, utility allowances, HAP contracts and payments, EIV report imports, LIHTC findings, Mitchell-Lama, and regulatory agreements. generate_tracs_mat10 and generate_tracs_mat30 build TRACS 2.0.3.A tenant and voucher files to HUD's MAT Guide, and staff send each file to TRACS themselves and record the answer. record_hap_payment requires an Idempotency-Key, and over MCP a person approves each write and each message. The API is included in Darcy's $2 per active unit plan.

✓

$2 per unit, every feature included

✓

You approve every AI action

✓

Data moved and checked to the cent

Soft evening sky
Darcy Collections agent queue with a tenant’s score and aging

The Collections agent ranks who is behind and shows why. A person approves each proposal.

What the affordable housing API covers

Darcy keeps affordable housing records in the Compliance and affordable housing area of the API (69 record types), with HAP payments in Accounting and utility allowances in Portfolio. A property can carry several housing programs at once, for example LIHTC, HOME, and Housing Choice Voucher tenants. Each housing program holds the rent rules that the certification math uses. For the product side, see Darcy for affordable housing.

Job

Record types

Operations

Set up a program

Housing programs

create_housing_programs_row (program_type lihtc, section8_pbra, hcv, pbv, home, rd_515, section_202, section_811, and others)

Keep income limits

Income limit areas, Income limits

create_income_limits_row, list_income_limits

Keep utility allowances

Utility allowances

create_utility_allowances_row, list_utility_allowances

Certify a household

Household certifications, Certification members, Certification income sources, Certification assets, Certification deductions

start_certification, calculate_certification, certification_missing_items, complete_certification

Fill in the HUD-50059

Household certifications

certification_50059_data

Load HAP contracts

HAP contracts, HAP contract units

add_hap_contracts, list_hap_contracts

Record HAP payments

HAP payments, HAP payment items, HAP payment item recoveries

record_hap_payment, list_hap_payment_items

Split rent between subsidies and the tenant

Leases

set_lease_subsidy_sources

Adjust and renew contract rents

HAP rent schedules, HAP contract renewals

create_ocaf_rent_schedule, approve_hap_rent_schedule, start_hap_renewal, execute_hap_renewal

Build TRACS files

Program submissions

generate_tracs_mat10, generate_tracs_mat30, set_program_submission_status

Import EIV reports

EIV imports, EIV member incomes, EIV household flags, EIV report reviews

import_eiv_report, resolve_eiv_finding

Test LIHTC compliance

LIHTC noncompliance findings

lihtc_set_aside_tests, lihtc_building_fractions, lihtc_owner_certification

Run Mitchell-Lama

Mitchell lama programs, Mitchell lama affidavits, Mitchell lama surcharge bands, Mitchell lama waitlist entries

create_mitchell_lama_program, request_mitchell_lama_affidavits, post_mitchell_lama_surcharges, offer_mitchell_lama_unit

Track regulatory agreements

Regulatory agreements, Regulatory agreement covenants, Regulatory agreement obligations

create_regulatory_agreements_row, add_regulatory_obligation, complete_regulatory_obligation

Check readiness

Reports

affordable_compliance_findings, mor_readiness

Reads need affordable.read. Most writes need affordable.write. Completing a certification needs affordable.certify, and recording a HAP payment needs receivables.write. For the whole API, see the Darcy REST API.

Certifications, from draft to HUD-50059

  1. start_certification opens a draft for a lease under a program. It finds the HAP contract and copies the household from the previous certification, with income and assets marked unverified.

  2. Add or correct members, income sources, assets, and deductions with the certification record types.

  3. calculate_certification computes annual income, adjusted income, total tenant payment, tenant rent, the assistance payment, the percent of area median income, and eligibility. Total tenant payment is the greatest of 30% of monthly adjusted income, 10% of monthly gross income, and the minimum rent, as HUD Handbook 4350.3 sets out.

  4. certification_missing_items lists what a HUD certification still needs, such as a date of birth or an income verification.

  5. complete_certification signs the certification and can apply the new tenant rent and HAP split to the lease. It rejects a move-in or initial certification over the income limit.

  6. certification_50059_data returns the figures laid out for form HUD-50059. The web app renders the PDF.

Income limits and utility allowances are your own effective-dated rows. HUD publishes the income limits for Section 8 each year, and separate Multifamily Tax Subsidy Project limits for LIHTC and bond properties. Enter the year's limits by area, percent of median income, and household size, and the limit in force on a date is the latest row that starts on or before it.

HAP contracts and payments

add_hap_contracts creates contracts from rows of unit, contract number, dates, contract rent, utility allowance, and payment standard. It moves no money. record_hap_payment posts the housing authority's remittance, itemized by lease. The items must total amount_cents. A positive item pays that lease's open subsidy charges. A negative item takes back subsidy paid earlier, such as a move-out recovery. Any excess becomes the housing authority's unapplied money, never the tenant's.

curl -X POST "https://api.usedarcy.com/v1/hap_payments/record" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: oak-court-hap-2026-12" \
  -d '{"hap_contract_id": "HAP_CONTRACT_ID", "period_month": "2026-12-01", "amount_cents": 187340, "received_on": "2026-12-03", "method": "ach", "items": [{"lease_id": "LEASE_ID_1", "amount_cents": 101250}, {"lease_id": "LEASE_ID_2", "amount_cents": 91240}, {"lease_id": "LEASE_ID_3", "amount_cents": -5150}]}'
curl -X POST "https://api.usedarcy.com/v1/hap_payments/record" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: oak-court-hap-2026-12" \
  -d '{"hap_contract_id": "HAP_CONTRACT_ID", "period_month": "2026-12-01", "amount_cents": 187340, "received_on": "2026-12-03", "method": "ach", "items": [{"lease_id": "LEASE_ID_1", "amount_cents": 101250}, {"lease_id": "LEASE_ID_2", "amount_cents": 91240}, {"lease_id": "LEASE_ID_3", "amount_cents": -5150}]}'
curl -X POST "https://api.usedarcy.com/v1/hap_payments/record" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: oak-court-hap-2026-12" \
  -d '{"hap_contract_id": "HAP_CONTRACT_ID", "period_month": "2026-12-01", "amount_cents": 187340, "received_on": "2026-12-03", "method": "ach", "items": [{"lease_id": "LEASE_ID_1", "amount_cents": 101250}, {"lease_id": "LEASE_ID_2", "amount_cents": 91240}, {"lease_id": "LEASE_ID_3", "amount_cents": -5150}]}'

The three items net to 187340 cents, or $1,873.40. The ids and the key are placeholders.

For the yearly rent change on a project-based contract, create_ocaf_rent_schedule previews the Operating Cost Adjustment Factor increase as a draft. No rent changes until approve_hap_rent_schedule. start_hap_renewal sets the owner's one-year notice date and the renewal request date, 120 days before expiry, as compliance items.

TRACS files and EIV imports

generate_tracs_mat10 builds a TRACS 2.0.3.A tenant file to HUD's MAT Guide: a MAT10 record for each completed certification not yet sent, and a MAT40 for each physical move-out. generate_tracs_mat30 builds the monthly MAT30 voucher for one HAP contract. Each file is stored as a program submission with status draft.

Darcy builds the files. Darcy does not state that it transmits them to HUD. You send each file through your usual TRACS path or your contract administrator. Then set_program_submission_status records the file as transmitted, and later as accepted or rejected with the agency's response. A MAT10's certifications follow the same status.

import_eiv_report takes an Enterprise Income Verification report that you have parsed: the Income Report, Existing Tenant Search, Multiple Subsidy, and other report types. It accepts only the last four digits of a Social Security number and masks any text shaped like a full one. For an Income Report, it flags a household whose EIV income differs from its certification by $200 a month or 10%. resolve_eiv_finding closes a flag with what staff found.

LIHTC, Mitchell-Lama, and regulatory agreements

  • LIHTC. lihtc_set_aside_tests checks the 20-50, 40-60, or income averaging test on a date. lihtc_building_fractions returns each building's applicable fraction. The LIHTC noncompliance findings record type is the Form 8823 log, with the category, the dates found and corrected, and when the agency was told.

  • Mitchell-Lama. Programs hold surcharge bands, income affidavits, and the waitlist. post_mitchell_lama_surcharges posts the month's surcharge to each lease whose latest affidavit carries one.

  • Regulatory agreements. Each agreement holds its agency, term, covenants, and required reserve deposit. add_regulatory_obligation adds a recurring report, such as an annual owner certification, as a compliance item with reminders.

To see every open problem at a property on a date, call the findings report:

curl "https://api.usedarcy.com/v1/reports/affordable_compliance_findings?property_id=PROPERTY_ID&as_of=2026-12-01" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/reports/affordable_compliance_findings?property_id=PROPERTY_ID&as_of=2026-12-01" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/reports/affordable_compliance_findings?property_id=PROPERTY_ID&as_of=2026-12-01" \
  -H "Authorization: Bearer pmk_live_..."

It returns findings such as NO_CERTIFICATION, RECERT_OVERDUE, OVER_INCOME_AT_MOVE_IN, RENT_OVER_LIMIT, HAP_CONTRACT_EXPIRING, and SET_ASIDE_SHORTFALL. mor_readiness returns the Management and Occupancy Review checklist from the same data.

What a person approves

  • Money writes need an Idempotency-Key. This covers record_hap_payment, set_lease_subsidy_sources, and post_mitchell_lama_surcharges. See money writes.

  • Messages need a yes over MCP. post_mitchell_lama_surcharges can message residents. Over MCP, the person who connected the assistant approves each write and each message. AI never messages a tenant without a person's approval.

  • Status moves only through actions. A certification becomes completed only through complete_certification, and a TRACS file changes status only through set_program_submission_status.

Only the web app manages bank accounts, payment routing, roles, and API keys. The HUD-50059 PDF also comes from the web app.

Ask Claude or ChatGPT for the same job

Connect Claude or ChatGPT to the Darcy MCP server, then ask:

For Oak Court, list the households whose recertification is due or overdue, and what each certification still needs for the HUD-50059. Then build the December MAT30 voucher for contract 1234, but ask me first.

The assistant reads affordable_compliance_findings and certification_missing_items and gives you the list. Then it describes the voucher it will build and waits. When you say yes, it calls generate_tracs_mat30. You review the file and send it to TRACS yourself.

For HUD properties, see Darcy for HUD-assisted housing and the HAP contract definition. To see certifications and vouchers on your data, book a demo.

Related guides

Darcy

One system, one price, and AI agents that prepare the work

Darcy is a complete property management system. Its agents prepare collections, renewals, maintenance triage, and the month-end close, and a person approves each step.

  • $2 per unit per month, with every module and AI agent included.

  • Imports from AppFolio, Buildium, Yardi, and Rent Manager, reconciled to the cent.

  • No unit minimum, and a 14-day free trial with no credit card.

Pale sand texture
Darcy evidence view with each figure matched to the rent roll

Every number an agent shows is matched to the in-app report before you approve it.

Questions, answered

Does Darcy send TRACS files to HUD?

No. Darcy builds MAT10 tenant files, with MAT40 move-outs, and MAT30 vouchers to the TRACS 2.0.3.A MAT Guide, and stores each one as a program submission. You send the file through your usual TRACS path or contract administrator. Then set_program_submission_status records it as transmitted, accepted, or rejected.

Can I import EIV reports through the API?

Yes. import_eiv_report takes a report you have parsed, matches each person by last name and the last four digits of the Social Security number, and flags income discrepancies of $200 a month or 10%. It accepts only four digits of a Social Security number. The import is logged for the MOR checklist.

Can the API complete a certification?

Yes, with the affordable.certify permission. complete_certification recalculates and signs the certification and can apply the new tenant rent and HAP split to the lease. It rejects a move-in or initial certification over the income limit.

Which programs does the API support?

A housing program can be LIHTC, Section 8 project-based rental assistance, Housing Choice Vouchers, project-based vouchers, HOME, USDA RD 515, Section 202, Section 811, tax-exempt bond, state, local, or other. One property can carry several programs. Mitchell-Lama has its own program records.

Does the API cost extra?

No. The API, webhooks, and the MCP server are included in Darcy's one plan, $2 per active unit per month as of November 2026, with no unit minimum.

See Darcy run on a portfolio like yours

Tell us how many units you manage and which system you use today. We’ll show you which parts of your team’s week Darcy can take on.

Step 1

Tell us about your portfolio

Your unit count and the system you use today.

Step 2

See Darcy on data like yours

We walk through the jobs your team does every week.

Step 3

Load your data in setup mode

Nothing is charged, posted, or sent until you select Go live.