curl -X POST https://kube.acho.io/service/general-ledger/bill-payments \ -H "Authorization: jwt YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "bill_payment_id": "BP-2024-001", "vendor_id": "a3-vendor-xxx", "account_id": "a3-cash-account-xxx", "ap_account_id": "a3-ap-account-xxx", "tran_date": "2024-02-10", "posting_period_id": "a3-period-xxx", "total": 1000, "currency": "USD", "exchange_rate": 1.0, "memo": "Payment for BILL-2024-001", "status": "Draft" }'
{ "bill_payment_id": "BP-2024-001", "vendor_id": "a3-vendor-xxx", "vendor_name": "Office Supplies Inc", "account_id": "a3-cash-account-xxx", "ap_account_id": "a3-ap-account-xxx", "tran_date": "2024-02-10", "posting_period_id": "a3-period-xxx", "total": 1000, "currency": "USD", "exchange_rate": 1.0, "memo": "Payment for BILL-2024-001", "status": "Draft", "created_at": "2024-02-10T10:00:00Z" }
Create a new payment to a vendor
jwt YOUR_TOKEN
application/json