v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBinvoices
Update an invoice
Update details about an invoice line item. You can also update other invoice details.
You can use the PATCH operation to modify line item details, such as amount, quantity, and description. The invoice line item id does not change with a PATCH operation.
patch/v3/invoices/{invoiceId}
Path parameters
invoiceIdstring required
BILL-generated ID of the invoice. The value begins with 00e.
Example:{{invoice_id}}
Headers
sessionIdstring nullable
API session ID generated with /v3/login
Example:{{session_id}}
devKeystring nullable
Developer key generated with your BILL developer account
Example:{{developer_key}}
Request body
Example request
{
"invoiceLineItems": [
{
"id": "{{invoice_line_item_id01}}",
"quantity": 2,
"description": "Classic extreme drum sticks (amount updated)",
"price": 19.99
}
]
}Response
Update an invoice response