pay_document
Register a payment for invoices, sales receipts, credit notes, and other document types using document ID and amount, with optional payment date and treasury account.
Instructions
Register a payment for a document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docType | Yes | Type of document | |
| documentId | Yes | Document ID | |
| date | No | Payment date as Unix timestamp | |
| amount | Yes | Payment amount | |
| treasuryId | No | Treasury account ID |