Export invoice
POST/v2/ob/invoices/:id/export
Export PDF/XML of invoice by Id
Request
Path Parameters
id uuidrequired
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
Invoice Id
Query Parameters
format InvoiceExportFormat
Possible values: [xml
, pdf
]
Export format
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
Schema
download_url string
Exported file download link
status ExportStatus (string)
Possible values: [DONE
, BUILDING
, FAIL
, NEW
]
{
"download_url": "string",
"status": "DONE"
}
Not Authorized
Not Allowed
Loading...