v1

latestOpenAPI 3.0.02026-07-2422987517.5 KB
Reconciliation

Retrieve one reconciliation record

Returns a single reconciliation record by id, including its matches (matches_as_a, matches_as_b), the records it is matched against (matched_records), the remaining amount_to_be_reconciled, and whether it is exhausted. The embedding vector is omitted. Non-admin callers only see records of their companies.

Note: the record is looked up with find_by (not find_by!), so an unknown record_id does not return a 404 — the endpoint responds 200 with a null body.

get/v1/reconciliation/records/{record_id}

Path parameters

record_idstring uuid required

The id of the reconciliation record.

Headers

company-idstring uuid required

UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.

Response

The requested reconciliation record, or null when record_id is unknown.

idstring uuid required

The record id (equal to the underlying source record id).

typestring required

The reconciliation-record subtype.

source_typestring

The polymorphic type of the underlying source record.

company_idstring uuid
amount_centsinteger

The record's amount in cents.

currencystring
reference_datestring date-time nullable

Display date (issue/authorized/created date depending on the source).

document_typestring nullable

SII document type, for payable-like records.

counterpart_company_idstring uuid nullable

The counterpart company id, when applicable.

amount_to_be_reconciledinteger

Remaining amount still to reconcile, in cents.

exhaustedboolean

Whether the record's available balance is genuinely zero.

embedding_contentstring nullable

Text used to build the record's semantic embedding.

created_atstring date-time