Actions47
- Company Actions
- CRM Data Actions
- CRM Schema Actions
- CRM Views Actions
- Customer Actions
- Customer Service Actions
- Document Actions
- General Actions
- Income Item Actions
- Payment Actions
- Payment Method Actions
- Stock Actions
- Website Permission Actions
- Website User Actions
Document → Add Expense
AI-generatedSummary
Adds an expense document to Sumit by posting expense details to the Accounting API for each input item. The node requires Sumit API credentials; the operation-specific fields are not present in the supplied properties, though the implementation reads expense number, file, filename, date, description, and draft status.
Inputs
- Expense number, file, filename, date, description, draft status — The implementation reads
expenseNumber,expenseFile,expenseFilename,expenseDate,expenseDescription, andisDraft. If unset, it defaults to an empty number/file/filename/description, the current date, andtruefor draft status. These fields are not declared in the supplied operation-scoped properties. - Sumit API credentials (required) — Credentials provide the base URL, company ID, and API key used for the request.
Output shape
One output item per input item, containing the Sumit API response as JSON.
Sends a POST request to
/accounting/documents/addexpense/. On failure, the node throws an API error unless Continue On Fail is enabled, in which case it outputs an{ "error": "..." }JSON item for that input.
