Verify a kept document
BIL-015. Reads the document's retained bytes back and checks them against the size and SHA-256 fingerprint recorded when it was kept, exactly as retrieval does, and answers the result and the verification instant, never the bytes. A check that fails is refused with its reason, naming the document. **Required permission:** `billing.document:verify`
/billing/v1/kept-documents/{documentId}/verificationBIL-015. Reads the document's retained bytes back and checks them against the size and SHA-256 fingerprint recorded when it was kept, exactly as retrieval does, and answers the result and the verification instant, never the bytes. A check that fails is refused with its reason, naming the document.
Required permission: billing.document:verify
Authorization
oauth2 In: header
Response Body
*/*
*/*
curl -X POST "https://example.com/billing/v1/kept-documents/{documentId}/verification"{ "document_id": "string", "result": "string", "verified_at": "2019-08-24T14:15:22Z"}Remove a kept document whose keeping time is over
BIL-015. Removes the document's bytes from the store once its retention end has passed and nothing Billing knows still needs it, and keeps the record as the trace: who asked, why and when, then when the store let the bytes go. Asking again answers the same trace. Exported copies and backups are not removed. **Required permission:** `billing.document:remove`
List fee invoices overdue on a date
Issued invoices whose instalment due date is before the date. Each row carries the age in days and the issued amount. A fee invoice opens no exit window. **Required permission:** `billing.fee-invoice:read`