I’m able to add payment entries but I’m unable to find any reference for adding references to sales invoices
{
"series": "ACC-PAY-.YYYY.-",
"payment_type": "Receive",
"mode_of_payment": "Cash",
"party_type": "Customer",
"party": "X",
"party_name": "X",
"contact": "X-X",
"paid_amount": 1.00,
"received_amount": 1.00,
"target_exchange_rate": 1.00,
"paid_to": "Cash - T",
"paid_from": "Debtors - T",
"paid_from_account_currency": "X",
"paid_to_account_currency": "X",
"references": [
{
"type": "Sales Invoice",
"name": "ACC-SINV-2023-00417"
}
]
}