Skip to main content

Update Bill Lines

PATCH 

/api/bills/1/lines

Batch updates the lines of a bill. Replaces existing lines with the provided collection.

Authentication: Requires Bearer token.

Body:

  • lines (required): Array of bill line objects
    • lines.*.id (optional): Existing line ID (omit for new lines)
    • lines.*.description: Line description
    • lines.*.quantity: Quantity
    • lines.*.amount: Unit amount
    • lines.*.nominal_code_id: Nominal code ID
    • lines.*.tax_rate_id: Tax rate ID (optional)

Request

Responses

Successful response