post
https://api.getknit.dev/v1.0/accounting.invoice.create
Creates a new invoice for a customer with line items, tax, and payment terms.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Supported Apps
| App | App ID | Remarks |
|---|---|---|
| Xero | xero | Atleast one lineItem is required , status is optinal but can be one of [DRAFT, SUBMITTED, AUTHORISED] |
| Zohobooks | zohobook | By default Item level discount will be applied. Discounts are not supported for BILL type. currency expects currencyId as input, which can be obtained using List Currencies.. |
| Microsoft Dynamics 365 | microsoft-dynamics-365 | |
| Sage Intacct | sageIntacct | |
| Quickbooks | quickbooks | Supported Request Fields:
|
| Netsuite | netsuite | Supported Request Fields:
|
| Freshbooks | freshbooks | For every lineItem you must need to pass it's taxName and trackingCategoryId in metaData with list of object and order should be in order of line item like this - categoryAndTaxes":[{"taxName":"GEN","categoryId":"12775579"}]. |
| Sage 200 Standard | sage200 | contactId, type, invoiceNumber, dueDate, paidOnDate, exchangeRate, totalAmount, totalTax, totalDiscount, lineItems[].accountId, lineItems[].amount, lineItems[].description are honored fields.Note: lineItems[].accountId expects info.accountNumber field that you obtained for a account with category LEDGER_ACCOUNT via Knit's API or sync.lineItems is optional, you can give empty [] as input if you don't want to pass actual line items. |
| Wave Financial | wave | Only type INVOICE is supported by the app. itemId and quantity are required fields for each line item. |
| Odoo Accounting Online | odoo | totalAmount, totalTax, totalDiscount are not honored. these values are calculated based on lineItems in odoo. itemId, quantity, unitRate, discountRate, accountId are honored fields in lineItems. the status is by default draft when an invoice is created, use Update Invoice to change it to posted. currency, expects a currencyId as input, currencyIds can be obtained using List Currencies. |

