Line items in an AR payment represent charges for items or services included in an invoice or adjustment.
Create and maintain AR payment lines from the owning payment object.
Returns a collection with a key, ID, and link for each payment line. 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": "7",
- "id": "7",
- "href": "/objects/accounts-receivable/payment-line/7"
}, - {
- "key": "13",
- "id": "13",
- "href": "/objects/accounts-receivable/payment-line/13"
}, - {
- "key": "28",
- "id": "28",
- "href": "/objects/accounts-receivable/payment-line/28"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": 101,
- "previous": null
}
}
Returns detailed information for a specified payment line.
key required | string System-assigned unique key for the payment line. Example: 28 |
OK
Bad Request
{- "ia::result": {
- "id": "1369",
- "key": "1369",
- "arPayment": {
- "key": "121",
- "id": "121",
- "href": "/objects/accounts-receivable/payment/121"
}, - "glAccount": {
- "key": "263",
- "id": "1103",
- "name": "Accounts Receivable - Microcomputer",
- "href": "/objects/general-ledger/account/263"
}, - "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"
}, - "customer": {
- "key": "13",
- "id": "C-00019",
- "name": "sForce",
- "href": "/objects/accounts-receivable/customer/13"
}, - "vendor": {
- "key": "512",
- "id": "V-00008",
- "name": "SF Seals",
- "href": "/objects/accounts-payable/vendor/512"
}, - "item": {
- "key": "6",
- "id": "LIC02-06",
- "name": "License 6 month contract",
- "href": "/objects/inventory-control/item/6"
}, - "employee": {
- "key": "3",
- "id": "Admin",
- "name": "Automation Test Admin",
- "href": "/objects/company-config/employee/3"
}, - "contract": {
- "key": "7",
- "id": "CONTRACTAUG16MEA",
- "name": "CONTRACTAUG16MEA",
- "href": "/objects/contracts/contract/7"
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": "6",
- "id": "4",
- "name": "Professional services",
- "href": "/objects/company-config/class/6"
}
}, - "memo": "null,",
- "exchangeRate": {
- "date": "2024-04-15",
- "typeId": "-1",
- "rate": 1
}, - "baseCurrency": {
- "amount": "100",
- "currency": "USD",
- "totalPaid": "0",
- "totalSelected": "100"
}, - "txnCurrency": {
- "amount": "100",
- "currency": "USD",
- "totalPaid": "0",
- "totalSelected": "100"
}, - "lineNumber": 1,
- "offsetGLAccount": {
- "key": "9",
- "href": "/objects/general-ledger/account/9"
}, - "audit": {
- "createdDateTime": "2024-04-21T12:34:02Z",
- "modifiedDateTime": "2024-07-04T08:18:29Z",
- "createdByUser": {
- "key": "39",
- "href": "/objects/company-config/user/39"
}, - "createdBy": "39",
- "modifiedByUser": {
- "key": "39",
- "href": "/objects/company-config/user/39"
}, - "modifiedBy": "39"
}, - "href": "/objects/accounts-receivable/payment-line/1369"
}
}