Upload your invoice
POST/v1/orders/{id}/invoice
scope orders.write
YOUR fiscal invoice for the goods — Biklo does not issue it. Send a multipart file, or a url we reference without downloading.
Request body#
| Field | Type | Required | Description |
|---|---|---|---|
url | string | optional | A link to your invoice. Required UNLESS you upload the document itself. Must parse as a URL, and is stored as a reference — we never fetch it, so it has to stay reachable for as long as the buyer may look at it. Send either this or a file; with neither you get no_invoice (400).Accepts Any valid absolute URL |
file | file | optional | The invoice itself, sent as multipart/form-data rather than JSON. Takes precedence over url when both are sent. Stored on the same disk as a dashboard upload.Accepts Not supported Any other extension is rejected with |
Example
{
"url": "https://erp.example.com/invoices/FCT-2026-001.pdf"
}Response#
| Field | Type | Description |
|---|---|---|
order_id | integer | The order. |
seller_invoice | string | What was stored — the URL you gave us, or the path of the file you uploaded. |
Example
{
"order_id": 711,
"seller_invoice": "https://erp.example.com/invoices/FCT-2026-001.pdf"
}