qbo_payments_create
Create a new Payment record in QuickBooks Online.
Instructions
Create a new Payment record in QuickBooks Online.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | No | Linked transactions applying this payment, e.g. [{Amount: 100, LinkedTxn: [{TxnId: '5', TxnType: 'Invoice'}]}]. On update, Line replaces existing applications. QuickBooks keeps one line per invoice: a second line for an invoice that is already linked replaces that amount instead of adding to it. To increase an application, send one line with the combined amount. | |
| TxnDate | No | Transaction date (YYYY-MM-DD format) | |
| TotalAmt | Yes | Total payment amount | |
| CustomerRef | Yes | Customer reference object, e.g. {"value": "123"} where value is the customer ID | |
| PaymentMethodRef | No | Payment method reference object, e.g. {"value": "1"} | |
| DepositToAccountRef | No | Bank or asset account to deposit this payment into, e.g. {"value": "35"}. Omit on create to use Undeposited Funds. Omit on update to leave the existing deposit account unchanged. |