Upload Invoice

Creates an invoice in status awaiting_upload against a subscription, optionally attaches detailed line items and subscription-line links (insurance number, accessory parent, not-insured flag), and returns an S3 presigned URL where you must PUT the PDF.

Body Params
string
required

UUID of the subscription the invoice is attached to.

string
required

invoice reference, as mentioned on the PDF.

string

UUID of the supplier issuing the invoice, retreivable in the Get Invoicing details request.

items
array of objects

Detailed line items.

items
insuranceInfo
array of objects

Per-line metadata. Each entry must provide exactly one of insuranceNumber, notInsured=true, or parentSubscriptionLineId

insuranceInfo
accessoryLinks
array of objects
accessoryLinks
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json