v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBinvoices
Archive an invoice
Archive an existing invoice. In the response, the archived field is set as true.
You can restore an archived invoice with POST /v3/invoices/{invoiceId}/restore. There is no change when you archive an archived invoice.
post/v3/invoices/{invoiceId}/archive
Path parameters
invoiceIdstring required
BILL-generated ID of the invoice. The value begins with 00e.
Example:{{invoice_id}}
Headers
sessionIdstring nullable
API session ID generated with /v3/login
Example:{{session_id}}
devKeystring nullable
Developer key generated with your BILL developer account
Example:{{developer_key}}
Response
Archive an invoice response