Invoices
The Invoices API provides CRUD access to invoices, line-item management, status, tags, clone, publish and email.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys).
Identifier note: invoices are addressed by their numeric bill_invoiceid.
Totals are computed server-side. You never send totals. You set the line items (and, for summary mode, the tax rates) and the header discount/adjustment; the API computes the subtotal, discount, tax and final amounts to match the CRM exactly.
Scope: payment recording/gateways (a future Payments resource), recurring, file attachments and bulk actions are out of API scope.
The invoice object
List / search invoices
status, client_id, project_id, category_id, search, sort
(bill_date,bill_due_date,bill_final_amount,bill_created), order, limit, page.
Get an invoice
Create an invoice
201, status Draft).
Update an invoice (header) + recalculate
Set line items + recalculate
tax_type:
- summary — pass invoice-level
tax_rate_ids[]; the tax applies to the whole invoice. - inline — give each item its own
tax_rate_id(and optional per-linediscount_type/discount_value).
totals (200).
Delete an invoice
Change status
Set tags
Clone
Returns the new invoice (
201).
Publish
409 if already published.
Email the client
409 otherwise). No body.
