Reconciliation
Access billing reconciliation data — match observed usage against provider invoices.
Get reconciliation summary
GET /api/v1/reconciliation/summary
Returns the reconciliation status for the last billing period.
{
"period": "2026-04",
"matched_usd": 4200.00,
"unmatched_usd": 142.50,
"confidence_distribution": {
"HIGH": 3840.00,
"MEDIUM": 320.00,
"LOW": 40.00,
"UNVERIFIED": 142.50
}
}
Get reconciliation matches
GET /api/v1/reconciliation/matches
Returns individual matched and unmatched line items.
Query parameters
| Parameter | Type | Description |
|---|---|---|
confidence |
string | HIGH, MEDIUM, LOW, UNVERIFIED |
provider |
string | Filter by provider |
from |
ISO 8601 | Start of period |
to |
ISO 8601 | End of period |
Upload an invoice
POST /api/v1/reconciliation/invoice
Content-Type: multipart/form-data
Upload a provider invoice PDF for OCR-based line item extraction and matching.
curl -X POST https://token.audit.id/api/v1/reconciliation/invoice \
-H "Authorization: Bearer td_live_xxxx" \
-F "file=@anthropic-invoice-april-2026.pdf" \
-F "provider=anthropic"