InvoicesCreate or update a draft invoice by its external referenceCreate or update a draft invoice by its external reference POST /api/v1/invoices/upsert Supply the invoice creation payload and both reference fields. Request Responses200201403409UpdatedCreatedInsufficient permissionReserved reference