Customer refunds can be issued to pay a customer who has a negative balance, pay an advance that was never used, pay a credit that was never used. Issue a refund when another invoice will not be created for the customer or the customer would like their money back.
Returns a collection with a key, ID, and link for each customer refund.
OK
Bad Request
{- "ia::result": [
- {
- "key": "3",
- "id": "REF1-01",
- "href": "/objects/accounts-receivable/customer-refund/3"
}, - {
- "key": "5",
- "id": "REF1-02",
- "href": "/objects/accounts-receivable/customer-refund/5"
}, - {
- "key": "6",
- "id": "REF1-03",
- "href": "/objects/accounts-receivable/customer-refund/6"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Creates a new customer refund.
required | object Financial account from which the refund payment will be made. | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
paymentMethod required | string Payment method for customer refund. Example: "eft" | ||||||||||||||||||||||||
required | object Customer associated with the refund. | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
required | object Pay to contact details for the AR refund. | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
refundDate required | string <date> Date when customer refund was created. Example: "2024-09-30" | ||||||||||||||||||||||||
state | string State of customer refund. Example: "draft" | ||||||||||||||||||||||||
documentNumber | string Document number for customer refund. Example: "REF23" | ||||||||||||||||||||||||
description | string Description for the customer refund. Example: "This is a customer-refund for the customer against the invoice." | ||||||||||||||||||||||||
paymentDate | string <date> Date when customer refund was done. Example: "2024-09-30" | ||||||||||||||||||||||||
object For multi-currency companies, the company's base currency. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
object Transaction currency for the refund. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
bankReconciliationStatus | string Default: "inTransit" If set to Example: null | ||||||||||||||||||||||||
bankReconciliationDate | string <date> Reconciliation date for the customer refund. Example: "2024-09-30" | ||||||||||||||||||||||||
object AR summary the customer refund is part of. Summaries are collections of transactions grouped together for processing. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects Details for the refund. | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
Array of objects Line items of the refund. | |||||||||||||||||||||||||
Array
|
Created
Bad Request
{- "financialEntity": {
- "id": "BOA"
}, - "paymentMethod": "eft",
- "customer": {
- "id": "1"
}, - "payTo": {
- "key": "746"
}, - "refundDate": "2024-12-18",
- "baseCurrency": {
- "refundAmount": "150"
}, - "refundDetails": [
- {
- "negativeInvoice": {
- "key": "68"
}, - "txnRefundAmount": "50"
}, - {
- "negativeInvoice": {
- "key": "69"
}, - "txnRefundAmount": "100"
}
]
}
{- "ia::result": {
- "key": "70",
- "href": "/objects/accounts-receivable/customer-refund/70"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified customer refund.
key required | string System-assigned unique key for the customer refund. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "2346",
- "refundSummary": {
- "id": "222",
- "key": "222",
- "name": "Refunds(Bank-BOA): 2025/03/31 Batch",
- "href": "/objects/accounts-receivable/summary/222"
}, - "financialEntity": {
- "id": "BOA",
- "key": "BOA",
- "href": "/objects/cash-management/bank-account/BOA"
}, - "state": "voided",
- "paymentMethod": "eft",
- "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "payTo": {
- "id": "AkashP",
- "key": "779"
}, - "id": "Adj:0109:DB",
- "documentNumber": null,
- "description": null,
- "refundDate": "2025-03-31",
- "paymentDate": "2025-03-31",
- "baseCurrency": {
- "currency": "USD",
- "refundAmount": "333.00",
- "totalPaid": "333.00",
- "totalDue": "0.00",
- "totalSelected": "0.00"
}, - "txnCurrency": {
- "currency": "USD",
- "refundAmount": "333.00",
- "totalPaid": "333.00",
- "totalDue": "0.00",
- "totalSelected": "0.00"
}, - "exchangeRate": {
- "date": null,
- "typeId": null,
- "rate": null
}, - "bankReconciliationStatus": "inTransit",
- "bankReconciliationDate": null,
- "audit": {
- "createdDateTime": "2025-04-01T05:16:17Z",
- "modifiedDateTime": "2025-08-06T06:53:17Z",
- "createdByUser": {
- "key": "1",
- "id": "Admin",
- "href": "/objects/company-config/user/1"
}, - "modifiedByUser": {
- "key": "1",
- "id": "Admin",
- "href": "/objects/company-config/user/1"
}
}, - "entity": {
- "key": null,
- "id": null,
- "name": null
}, - "lines": [
- {
- "id": "5741",
- "key": "5741",
- "customerRefund": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/customer-refund/2346"
}, - "glAccount": {
- "key": "36",
- "id": "1200",
- "name": "Accounts Receivable",
- "href": "/objects/general-ledger/account/36"
}, - "baseCurrency": {
- "amount": "222.00",
- "currency": "USD",
- "totalPaid": "222.00",
- "totalSelected": "0.00"
}, - "txnCurrency": {
- "amount": "222.00",
- "currency": "USD",
- "totalPaid": "222.00",
- "totalSelected": "0.00"
}, - "dimensions": {
- "department": {
- "key": null,
- "id": null,
- "name": null
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "memo": null,
- "exchangeRate": {
- "date": "2025-03-31",
- "typeId": null,
- "rate": 1
}, - "lineNumber": 1,
- "audit": {
- "createdDateTime": "2025-04-01T05:16:17Z",
- "modifiedDateTime": "2025-04-10T05:21:48Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}
}, - "href": "/objects/accounts-receivable/customer-refund-line/5741"
}, - {
- "id": "5742",
- "key": "5742",
- "customerRefund": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/customer-refund/2346"
}, - "glAccount": {
- "key": "156",
- "id": "2200",
- "name": "Customer Advances",
- "href": "/objects/general-ledger/account/156"
}, - "baseCurrency": {
- "amount": "111.00",
- "currency": "USD",
- "totalPaid": "111.00",
- "totalSelected": "0.00"
}, - "txnCurrency": {
- "amount": "111.00",
- "currency": "USD",
- "totalPaid": "111.00",
- "totalSelected": "0.00"
}, - "dimensions": {
- "department": {
- "key": null,
- "id": null,
- "name": null
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "memo": null,
- "exchangeRate": {
- "date": "2025-03-31",
- "typeId": null,
- "rate": 1
}, - "lineNumber": 2,
- "audit": {
- "createdDateTime": "2025-04-01T05:16:17Z",
- "modifiedDateTime": "2025-04-10T05:21:48Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}
}, - "href": "/objects/accounts-receivable/customer-refund-line/5742"
}
], - "refundDetails": [
- {
- "id": "773",
- "key": "773",
- "arPayment": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/payment/2346"
}, - "customerRefund": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/customer-refund/2346"
}, - "customerRefundLine": {
- "id": "5741",
- "key": "5741",
- "href": "/objects/accounts-receivable/customer-refund-line/5741"
}, - "paymentDate": "2025-03-31",
- "baseRefundAmount": "222.00",
- "txnRefundAmount": "222.00",
- "arAdjustment": {
- "id": null,
- "key": null
}, - "arAdjustmentLine": {
- "id": null,
- "key": null
}, - "negativeInvoice": {
- "id": "2345",
- "key": "2345",
- "href": "/objects/accounts-receivable/invoice/2345"
}, - "negativeInvoiceLine": {
- "id": "5739",
- "key": "5739",
- "href": "/objects/accounts-receivable/invoice-line/5739"
}, - "arAdvance": {
- "id": null,
- "key": null
}, - "arAdvanceLine": {
- "id": null,
- "key": null
}, - "overPayment": {
- "id": null,
- "key": null
}, - "overPaymentLine": {
- "id": null,
- "key": null
}, - "bankCurrency": "USD",
- "state": "complete",
- "audit": {
- "createdDateTime": "2025-04-01T05:16:17Z",
- "modifiedDateTime": "2025-04-01T05:16:17Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}
}, - "href": "/objects/accounts-receivable/customer-refund-detail/773"
}, - {
- "id": "774",
- "key": "774",
- "arPayment": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/payment/2346"
}, - "customerRefund": {
- "id": "2346",
- "key": "2346",
- "href": "/objects/accounts-receivable/customer-refund/2346"
}, - "customerRefundLine": {
- "id": "5742",
- "key": "5742",
- "href": "/objects/accounts-receivable/customer-refund-line/5742"
}, - "paymentDate": "2025-03-31",
- "baseRefundAmount": "111.00",
- "txnRefundAmount": "111.00",
- "arAdjustment": {
- "id": null,
- "key": null
}, - "arAdjustmentLine": {
- "id": null,
- "key": null
}, - "negativeInvoice": {
- "id": null,
- "key": null
}, - "negativeInvoiceLine": {
- "id": null,
- "key": null
}, - "arAdvance": {
- "id": "2341",
- "key": "2341",
- "href": "/objects/accounts-receivable/advance/2341"
}, - "arAdvanceLine": {
- "id": "5731",
- "key": "5731",
- "href": "/objects/accounts-receivable/advance-line/5731"
}, - "overPayment": {
- "id": null,
- "key": null
}, - "overPaymentLine": {
- "id": null,
- "key": null
}, - "bankCurrency": "USD",
- "state": "complete",
- "audit": {
- "createdDateTime": "2025-04-01T05:16:17Z",
- "modifiedDateTime": "2025-04-01T05:16:17Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}
}, - "href": "/objects/accounts-receivable/customer-refund-detail/774"
}
], - "href": "/objects/accounts-receivable/customer-refund/2346"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing customer refund by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the customer refund. Example: 99 |
state | string State of customer refund. Example: "draft" | ||||||||||||||||||||||||
paymentMethod | string Payment method for customer refund. Example: "eft" | ||||||||||||||||||||||||
documentNumber | string Document number for customer refund. Example: "REF23" | ||||||||||||||||||||||||
description | string Description for the customer refund. Example: "This is a customer-refund for the customer against the invoice." | ||||||||||||||||||||||||
paymentDate | string <date> Date when customer refund was done. Example: "2024-09-30" | ||||||||||||||||||||||||
refundDate | string <date> Date when customer refund was created. Example: "2024-09-30" | ||||||||||||||||||||||||
object For multi-currency companies, the company's base currency. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
object Transaction currency for the refund. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
bankReconciliationStatus | string Default: "inTransit" If set to Example: null | ||||||||||||||||||||||||
bankReconciliationDate | string <date> Reconciliation date for the customer refund. Example: "2024-09-30" | ||||||||||||||||||||||||
object AR summary the customer refund is part of. Summaries are collections of transactions grouped together for processing. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
object Customer associated with the refund. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
object Financial account from which the refund payment will be made. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
object Pay to contact details for the AR refund. | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects Details for the refund. | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
Array of objects Line items of the refund. | |||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "financialEntity": {
- "id": "BOA"
}, - "paymentMethod": "eft",
- "customer": {
- "id": "1"
}, - "payTo": {
- "id": "Harpreet"
}, - "refundDate": "2024-12-18",
- "baseCurrency": {
- "refundAmount": "10"
}, - "refundDetails": [
- {
- "negativeInvoice": {
- "key": "65"
}, - "txnRefundAmount": "5"
}, - {
- "negativeInvoice": {
- "key": "66"
}, - "txnRefundAmount": "5"
}
]
}
{- "ia::result": {
- "key": "67",
- "href": "/objects/accounts-receivable/customer-refund/67"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a customer refund.
key required | string System-assigned unique key for the customer refund. Example: 99 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Reverse a customer refund
key required | string System-assigned key for customer refund. Example: "22" |
reversedDate required | string <date> Date this transactions is reversed. Example: "2024-04-15" |
description | string Notes or comments about the reason for the reverse of the customer refund. Example: "Reversed the refund for duplicate entry" |
OK
Bad Request
{- "key": "22",
- "reversedDate": "2024-04-15",
- "description": "Reversed the refund for duplicate entry"
}
{- "ia::result": {
- "key": "23",
- "id": "REF-01",
- "href": "/objects/accounts-receivable/customer-refund/23",
- "state": "voided"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}
Submits a customer refund
key required | string System-assigned key for the customer refund. Example: "12" |
OK
Bad Request
{- "key": "12"
}
{- "ia::result": {
- "key": "12",
- "id": "REF-02",
- "href": "/objects/accounts-receivable/customer-refund/12",
- "state": "posted"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}