business_invoice_totals
Invoice totals
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| notes | No | Notes printed at the bottom of the document. | |
| terms | No | Payment terms line, for example 'Net 30. Pay by bank transfer.' | |
| taxPct | No | ||
| dueDate | No | YYYY-MM-DD, a real date on or after invoiceDate (422 otherwise). | |
| clientName | No | Who the invoice is for. Needed with businessName for the document. | |
| discountPct | No | ||
| includeDocx | No | true also returns the invoice as a Word file in result.docx (filename, contentType, base64). Needs businessName and clientName. | |
| invoiceDate | No | YYYY-MM-DD, a real date (422 otherwise). | |
| businessName | No | Your business name. Sending businessName and clientName also returns the invoice as a document: result.document, result.text and, with includeDocx, a Word file. | |
| invoiceNumber | No | Invoice number printed on the document. | |
| currencySymbol | No | Symbol printed before amounts in the document. Default $. The totals themselves are plain numbers. |