Skip to main content

Raise Sales Order Billing Line

POST 

/api/sales-orders/:salesOrder/billing/lines/:lineKey/raise

Raise a billing schedule line now: manual lines, a pending line you don't want to wait for, or a delivered line when there is no carrier tracking (this marks it delivered). Raises the line's document (invoice, deposit invoice or payment request) and returns the refreshed billing state. Refused while the order is over-billed, for lines already raised, and for per-shipment lines.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires permission sales_invoices.create.

Body fields:

  • invoice_date (string Y-m-d, optional — pick an open date when today falls in a locked accounting period)

Request​

Responses​

OK

Response Headers
    Content-Type