Contents
Description
ip1basicCustomerARBalance.get retrieves customer balance details for the customer number provided.
Restrictions
Access to any of the operations in ip1basicCustomerARBalance.get is dependent on user access.
Input/Output parameters
View JSON parameters| Input | Type | Description |
| CN | 10A | Customer number |
| Output | Type | Description |
| BillToNumber | 10A | Bill to number |
| BillToName | 60a | Bill to name |
| currencyISO | 3A | ISO currency |
| CRLMIN | 11N0 | Minimal CR limit (internal) |
| CRLMEX | 11N0 | MInimal CR limit (external) |
| lists | ||
| AGEP | 6A | Age period, OVRDUE, CURDUE, FUTDUE, TOTDUE |
| BALA | 13N2 | Balance amount |
| CLMA | 13N2 | Claim amount |
| DRTA | 13N2 | Draft amount |
| LCDA | 13N2 | L/C amount |
| TOTA | 13N2 | Total amount |
| LATA | 13N2 | Late amount |
| DUEOVR | 13N2 | Overdue total amount |
| DUECUR | 13N2 | Current due total amount |
| DUEFUT | 13N2 | Future due total amount |
| DUETOT | 13N2 | Total due amount |
JSON example
View JSON request & response exampleRequest:
{
“IptorAPI”: “1.0”,
“method”: “ip1basicCustomerARBalance.get”,
“params”: {
“CN”: “0000100100”
},
“id”: “917404”
}
Response:
{
“IptorAPI”: “1.0”,
“data”: {
“BillToNumber”: “0000100100”,
“BillToName”: “Galactic Empire”,
“currencyISO”: “AUD”,
“CRLMIN”: 500000,
“CRLMEX”: 500000,
“lists”: [
{
“AGEP”: “201905”,
“BALA”: 58957.19,
“CLMA”: 0,
“DRTA”: 0,
“LCDA”: 0,
“TOTA”: 58957.19,
“LATA”: 669.69
},
{
“AGEP”: “OVRDUE”,
“BALA”: 0,
“CLMA”: 0,
“DRTA”: 0,
“LCDA”: 0,
“TOTA”: 0,
“LATA”: 0
},
{
“AGEP”: “CURDUE”,
“BALA”: 0,
“CLMA”: 0,
“DRTA”: 0,
“LCDA”: 0,
“TOTA”: 0,
“LATA”: 0
},
{
“AGEP”: “FUTDUE”,
“BALA”: 58957.19,
“CLMA”: 0,
“DRTA”: 0,
“LCDA”: 0,
“TOTA”: 58957.19,
“LATA”: 669.69
},
{
“AGEP”: “TOTDUE”,
“BALA”: 58957.19,
“CLMA”: 0,
“DRTA”: 0,
“LCDA”: 0,
“TOTA”: 58957.19,
“LATA”: 669.69
}
],
“DUEOVR”: 0,
“DUECUR”: 0,
“DUEFUT”: 58957.19,
“DUETOT”: 58957.19
},
“id”: “917404”
}
Response format
For standard response format for IP1 API methods, see Response format.
Related topics
ip1basicItemWarehouseStock.get
ip1basicCustomerOrderDetails.get
