Using this resource you can create reference numbers for Payment Instructions at the invoice level, allowing for multiple payment information and payment reference numbers to be associated with a single invoice. However, only one PRN is generated for each payment method.
{
"id": "prn___test__8aszZTexzRqs4A",
"invoice_id": "__demo_inv__2",
"number": "0000202317",
"object": "payment_reference_number",
"type": "kid"
}This attribute helps type
field in the API, specifies how to reconcile offline payments, and generate payment_reference_number
on invoices based on country-specific rules. Setting the type
field generates payment_reference_number
for the respective country and includes them on the invoice for correct reconciliation.