Settle a fee invoice in cash at the counter
Collects the exact issued amount on the open register. The invoice id is the movement reference, so a retry does not collect twice. **Required permission:** `billing.fee-invoice:settle`
/billing/v1/fee-invoices/{id}/counter-settlementsCollects the exact issued amount on the open register. The invoice id is the movement reference, so a retry does not collect twice.
Required permission: billing.fee-invoice:settle
Authorization
oauth2 In: header
Path Parameters
Fee invoice id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/billing/v1/fee-invoices/string/counter-settlements" \ -H "Content-Type: application/json" \ -d '{ "amount": 0 }'{ "addressee": { "address_line1": "string", "address_line2": "string", "city": "string", "email": "string", "legal_identifier": "string", "name": "string", "phone_number": "string", "postal_code": "string", "website": "string" }, "agreement_id": "string", "agreement_reference": "string", "amount": 0, "currency": "string", "customization_id": "string", "id": "string", "instalment_id": "string", "invoice_number": "string", "issued_at": "2019-08-24T14:15:22Z", "issuer": { "address_line1": "string", "address_line2": "string", "city": "string", "email": "string", "legal_identifier": "string", "name": "string", "phone_number": "string", "postal_code": "string", "website": "string" }, "line": { "description": "string", "fee_kind_code": "string", "fee_kind_label": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "unit_id": "string", "unit_name": "string" }, "occupant_id": "string", "profile_id": "string", "series_id": "string", "settlement": { "actor": "string", "means": "string", "movement_id": "string", "movement_reference": "string", "register_id": "string", "settled_at": "2019-08-24T14:15:22Z" }, "status": "string"}Record a bank transfer against a fee invoice
Closes the invoice for its exact amount. A smaller amount is refused; the difference is a credit or debit note. Nothing is written to the counter register. **Required permission:** `billing.fee-invoice:record-transfer`
Read a kept document's details
BIL-015. What the document is, the source revision it was kept for, its size and SHA-256 fingerprint once drawn, its status (PENDING, AVAILABLE, REMOVING, REMOVED), its retention period and end, when it was asked for and made available, the last failure of a pending document, and its removal trace once a removal was asked for. Never its bytes; reading creates nothing. **Required permission:** `billing.document:read`