Does anyone have a way to automatically submit a payment reconciliation, whether it’s through the API, or if needed, a script that I could call? I attempted to submit the following via the API but am getting permission denied:
{
"allocation": [
{
"reference_type": "Payment Entry",
"reference_name": "ACC-PAY-2024-00041",
"invoice_type": "Sales Invoice",
"invoice_number": "ACC-SINV-2024-02660",
"allocated_amount": 733.25
}
],
"receivable_payable_account": "1100 - Accounts Receivable - AC",
"party_type": "Customer",
"company": "ACME",
"docstatus": 1,
"party": "CUST-2024-01591"
}