Payment line items represent entries in a payment object. AP payment line is an owned object of AP payment.
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": "3936",
- "id": "3936",
- "href": "/objects/accounts-payable/payment-line/3936"
}, - {
- "key": "3938",
- "id": "3938",
- "href": "/objects/accounts-payable/payment-line/3938"
}, - {
- "key": "3940",
- "id": "3940",
- "href": "/objects/accounts-payable/payment-line/3940"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 0,
- "pageSize": 1,
- "next": 0,
- "previous": null
}
}
Returns detailed information for a specified payment line.
key required | string System-assigned unique key for the payment line. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "3936",
- "key": "3936",
- "apPayment": {
- "id": "267",
- "key": "267",
- "href": "/objects/accounts-payable/payment/267"
}, - "glAccount": {
- "key": "109",
- "id": "2000",
- "name": "Accounts Payable",
- "href": "/objects/general-ledger/account/109"
}, - "baseCurrency": {
- "amount": "100.00",
- "currency": "USD",
- "totalPaid": "0.00",
- "totalSelected": "100.00"
}, - "txnCurrency": {
- "amount": "100",
- "currency": "USD",
- "totalPaid": "0.00",
- "totalSelected": "100.00"
}, - "dimensions": {
- "department": {
- "id": "11",
- "name": "Accounting"
}, - "location": {
- "id": "1",
- "name": "United States of America"
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": "17",
- "id": "VEN-0019",
- "name": "EC",
- "href": "/objects/accounts-payable/vendor/17"
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "description": "Invoice for development in March 2024",
- "exchangeRate": {
- "date": "2024-07-21",
- "typeId": null,
- "rate": "1"
}, - "lineNumber": "1",
- "paymentLineRecord": "pp",
- "baseLocation": "1",
- "audit": {
- "createdDateTime": "2024-07-21T10:00:13Z",
- "modifiedDateTime": "2024-07-21T10:00:13Z",
- "createdByUser": {
- "key": "7",
- "href": "/objects/company-config/user/7"
}, - "modifiedByUser": {
- "key": "7",
- "href": "/objects/company-config/user/7"
}
}, - "taxDetail": {
- "id": null,
- "key": null
}, - "isTax": false,
- "href": "/objects/accounts-payable/payment-line/3936"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}