Record payment
bsale_create_paymentWRITE: record a payment against an issued document (normally a credit sale that is still unpaid). It changes the document's receivable balance in the books and cannot be removed through this API. Check the amount with bsale_client_unpaid_documents first and get payment_type_id from bsale_list_payment_types. POST /v1/payments.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| paid_on | No | Payment date (default: today, UTC). | |
| document_id | Yes | ||
| payment_type_id | Yes |