Create received document (expense)
create_received_documentCreate received documents such as expenses, passive credit notes, and self-invoices by providing description, entity, date, amounts, and payments; returns the created document.
Instructions
Create a received document (expense, passive credit note...). Requires description, entity, date, amounts (amount_net/amount_vat/amount_gross) and a payments_list covering the total. Returns the created document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The document payload. Extra Fatture in Cloud fields beyond the ones listed are passed through as-is. | |
| company_id | No | Fatture in Cloud company ID. Omit to use the default company configured for the session; discover IDs with list_companies. |