record_invoice_payment
Record a payment against an invoice by specifying type, amount, date, and channel. Optionally add notes.
Instructions
Creates new payment for specified invoice
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | invoice ID | |
| type | Yes | type of the payment; possible values: N - normal, C - cash discount, D - rounding difference, W - write off | |
| channel | No | channel of the payment; possible values: T - bank transfer, C - cash, PP - Paypal, PF - Postfinance, CC - Credit card, PR - Payrexx, SC - Smartcommerce | |
| amount | Yes | amount of the payment | |
| date | Yes | date that payment was made | |
| notes | No | optional notes |