Skip to main content

Reconciliations

The link between a statement transaction and the bill it settles. Creating the reconciliation settles the bill; deleting it undoes the settlement.

CommandHTTPDescription
reconciliations createPOST /v1/reconciliationsCreate a reconciliation
reconciliations getGET /v1/reconciliations/{id}Get a reconciliation by ID
reconciliations deleteDELETE /v1/reconciliations/{id}Delete a reconciliation

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.

# Get a reconciliation by ID
kobana finance reconciliations get --params '{"id": "RECONCILIATION_ID"}'

# Create a reconciliation
kobana finance reconciliations create \
--json '{"billings": [], "transaction_ids": []}'

# Delete a reconciliation
kobana finance reconciliations delete \
--params '{"id": "RECONCILIATION_ID"}' \
--dry-run

Next steps​