apply_payment
Posts a payment to an existing invoice by specifying invoice ID, amount, date, method, and notes. Updates the invoice balance accordingly.
Instructions
Apply a payment to an existing invoice
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes about the payment | |
| amount | Yes | Payment amount | |
| invoiceId | Yes | ID of the invoice to apply payment to | |
| paymentDate | No | Date of payment (YYYY-MM-DD format) | |
| paymentMethod | No | Payment method (e.g., 'check', 'cash', 'bank transfer') |