An advance line item is associated with a particular advance. Each advance can have any number of line items. Create and maintain advance lines from the owning advance object.
Returns a collection with a key, ID, and link for each advance line item. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "2031",
- "id": "2031",
- "href": "/objects/accounts-receivable/advance-line/2031"
}, - {
- "key": "2067",
- "id": "2067",
- "href": "/objects/accounts-receivable/advance-line/2067"
}, - {
- "key": "856",
- "id": "856",
- "href": "/objects/accounts-receivable/advance-line/856"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified advance line.
key required | string System-assigned unique key for the advance line. Example: 41 |
OK
Bad Request
{- "ia::result": {
- "key": "2067",
- "id": "2067",
- "advance": {
- "id": "799",
- "key": "799",
- "recordType": "rr",
- "href": "/objects/accounts-receivable/advance/799"
}, - "glAccount": {
- "key": "156",
- "id": "2200",
- "name": "Customer Advances",
- "href": "/objects/general-ledger/account/156"
}, - "accountLabel": {
- "name": "Customer Advances",
- "id": "westsa"
}, - "baseAmount": "100.00",
- "txnAmount": "100.00",
- "dimensions": {
- "department": {
- "key": "9",
- "id": "11",
- "name": "Accounting",
- "href": "/objects/company-config/department/9"
}, - "location": {
- "key": "1",
- "id": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "contract": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": "36",
- "id": "C-00045",
- "name": "Metro Artic, Inc.",
- "href": "/objects/accounts-receivable/customer/36"
}, - "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
}
}, - "baseLocation": {
- "id": "United States of America",
- "key": "1",
- "href": "/objects/company-config/location/1"
}, - "memo": "New contract down payment",
- "currency": {
- "exchangeRate": {
- "date": "2024-04-25",
- "typeId": "-1",
- "rate": 0.04937
}, - "baseCurrency": "USD",
- "txnCurrency": "USD"
}, - "lineNumber": 1,
- "paymentInformation": {
- "totalPaid": "100.00",
- "txnTotalPaid": "100.00",
- "totalSelected": "100.00",
- "txnTotalSelected": "100.00"
}, - "audit": {
- "createdDateTime": "2024-06-13T06:42:36Z",
- "modifiedDateTime": "2024-06-13T07:31:51Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1"
}, - "href": "/objects/accounts-receivable/advance-line/2067"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}