Read a stay's evidence pieces without exporting its file
BIL-008. By the stay's carrier charge: the timestamp of the station day the file was sealed on (absent while unsealed) and each evidence photo kept for the stay, as the export carries them. Photos carry their bytes only for a caller who may also retrieve kept documents (billing.document:retrieve); otherwise their identity, media type, size and fingerprint only. No manifest, entries, seal or export digest. **Required permission:** `billing.evidence:read`
/billing/v1/carrier-charges/{invoiceId}/evidence-file/piecesBIL-008. By the stay's carrier charge: the timestamp of the station day the file was sealed on (absent while unsealed) and each evidence photo kept for the stay, as the export carries them. Photos carry their bytes only for a caller who may also retrieve kept documents (billing.document:retrieve); otherwise their identity, media type, size and fingerprint only. No manifest, entries, seal or export digest.
Required permission: billing.evidence:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/billing/v1/carrier-charges/{invoiceId}/evidence-file/pieces"{ "attachments": [ { "content": "string", "document_id": "string", "kind": "string", "media_type": "string", "sha256": "string", "size": 0, "source_revision": 0 } ], "day_stamp": { "authority": "string", "day": "2019-08-24", "day_text": "string", "digest": "string", "failure": "string", "stamped_at": "2019-08-24T14:15:22Z", "status": "string", "token": "string", "zone": "string" }, "file_id": "string", "sealed": true}Export a stay's evidence file whole
BIL-008. By the stay's carrier charge. The manifest, every entry in chain order with the canonical text its digest covers, the seal with the text it is computed over, the late facts and an export digest that is the same each time the same file is exported; an unsealed or incomplete file is labelled so. Attachments carry their bytes only for a caller who may also retrieve kept documents (billing.document:retrieve); otherwise their identity, media type, size and fingerprint only. **Required permission:** `billing.evidence:read`
List a carrier's paid payouts
BIL-014. Every payout paid to the carrier, cash included, newest payment first, one bounded page at a time: the statement and period, how and when it was paid, and the exact amount in the payout's own currency. The totals cover every paid payout of the carrier, one per currency, whichever the page. Billing does not record who received the money, so each payout says the recipient was not recorded. A carrier paid nothing answers empty lists. **Required permission:** `billing.payout:read`