Read and verify a stay's evidence file
BIL-008. By the stay's carrier charge: the stay's entries in occurrence order, its seal, any late evidence kept beside it, and a verification recomputed now from the stored facts. **Required permission:** `billing.evidence:read`
/billing/v1/carrier-charges/{invoiceId}/evidence-fileBIL-008. By the stay's carrier charge: the stay's entries in occurrence order, its seal, any late evidence kept beside it, and a verification recomputed now from the stored facts.
Required permission: billing.evidence:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/billing/v1/carrier-charges/{invoiceId}/evidence-file"{ "algorithm": "string", "entries": [ { "content": { "property1": "string", "property2": "string" }, "content_digest": "string", "event_id": "string", "event_type": "string", "fact_kind": "string", "hash": "string", "occurred_at": "2019-08-24T14:15:22Z", "position": 0, "previous_hash": "string", "producer": "string", "received_at": "2019-08-24T14:15:22Z", "source": "string" } ], "expected_facts": [ "string" ], "file_id": "string", "keyed": true, "late_facts": [ { "event_id": "string", "event_type": "string", "fact_kind": "string", "hash": "string", "position": 0, "producer": "string", "received_at": "2019-08-24T14:15:22Z" } ], "opened_at": "2019-08-24T14:15:22Z", "policy_id": "string", "seal": { "algorithm": "string", "covered_facts": [ "string" ], "entry_count": 0, "final_hash": "string", "seal_hash": "string", "sealed_at": "2019-08-24T14:15:22Z" }, "sealing_milestone": "string", "vehicle_cycle_id": "string", "verification": { "broken_photos": [ "string" ], "entries_checked": 0, "first_broken_position": 0, "keyed": true, "late_chain_intact": true, "late_facts": 0, "missing_facts": [ "string" ], "seal_intact": true, "sealed": true, "status": "string", "warnings": [ "string" ] }}Read a carrier charge
BIL-052. One stay's charge: the amount it was recorded for, the amount its approved corrections leave it at, when it was recorded, what priced it and every line, and the payouts that took it off. **Required permission:** `billing.payout:read`
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`