Create Document
Documents
Create Document
Create a new Document.
POST
Create Document
The Documents Data Model simplifies the handling of document documents across various accounting platforms, providing a standardised approach to accessing and managing document-related information. To Upload a file using Node JS SDK, you can use the following code:Documentation Index
Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
RootFi company ID for the company connection to read or write.
Query Parameters
When true, the write runs asynchronously and returns only a sync_id. Required when data contains two or more records. Optional for single-record writes.
Body
multipart/form-data
The company ID of the document
The document type ID of the document
The document type of the document
Available options:
BILLS, INVOICES, BILL_CREDIT_NOTES, INVOICE_CREDIT_NOTES, EXPENSES, PURCHASE_ORDERS, SALES_ORDERS The base64 file of the document
The file name of the document