Line items in an adjustment represent transactions captured in that adjustment.
Returns a collection with a key, ID, and link for each adjustment-line.
OK
Bad Request
{- "ia::result": [
- {
- "key": "5336",
- "id": "5336",
- "href": "/objects/accounts-payable/adjustment-line/5336"
}, - {
- "key": "5348",
- "id": "5348",
- "href": "/objects/accounts-payable/adjustment-line/5348"
}, - {
- "key": "5296",
- "id": "5296",
- "href": "/objects/accounts-payable/adjustment-line/5296"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified adjustment line.
Subscription | Accounts Payable |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Adjustments |
key required | string System-assigned key for the adjustment line. |
OK
Bad Request
{- "ia::result": {
- "id": "146",
- "key": "146",
- "apAdjustment": {
- "id": "24",
- "key": "24",
- "href": "/objects/accounts-payable/adjustment/24"
}, - "glAccount": {
- "key": "246",
- "id": "6000",
- "name": "G&A Salaries",
- "href": "/objects/general-ledger/account/246"
}, - "overrideOffsetGLAccount": {
- "key": "109",
- "id": "2000",
- "name": "Accounts Payable",
- "href": "/objects/general-ledger/account/109"
}, - "accountLabel": {
- "key": null,
- "id": null
}, - "baseAmount": "-318.23",
- "txnAmount": "-210.00",
- "dimensions": {
- "department": {
- "key": "9",
- "id": "11",
- "name": "Accounting",
- "href": "/objects/company-config/department/9"
}, - "location": {
- "key": "4",
- "id": "4",
- "name": "Australia",
- "href": "/objects/company-config/location/4"
}, - "project": {
- "key": "8",
- "id": "8",
- "name": "Client Services - Power Aerospace Materials",
- "href": "/objects/projects/project/8"
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}, - "vendor": {
- "key": "43",
- "id": "1099 Int",
- "name": "1099 Int",
- "href": "/objects/accounts-payable/vendor/43"
}, - "employee": {
- "key": "1",
- "id": "1",
- "name": "Reser",
- "href": "/objects/company-config/employee/1"
}, - "item": {
- "key": "1",
- "id": "1",
- "name": "PC Computer",
- "href": "/objects/inventory-control/item/1"
}, - "class": {
- "key": "1",
- "id": "3",
- "name": "Heath Care",
- "href": "/objects/company-config/class/1"
}
}, - "memo": "Adj for Bil -001",
- "currency": {
- "exchangeRate": {
- "date": "2024-03-08",
- "typeId": "-1",
- "rate": "1.5154"
}, - "txnCurrency": "USD",
- "baseCurrency": "AUD"
}, - "lineNumber": "1",
- "paymentInformation": {
- "totalBaseAmountPaid": "0.00",
- "txnTotalPaid": "0.00",
- "totalBaseAmountSelected": "0.00",
- "txnTotalSelected": "0.00"
}, - "adjustmentType": "pa",
- "audit": {
- "modifiedBy": "1",
- "createdDateTime": "2024-03-09T07:42:01Z",
- "modifiedDateTime": "2024-03-09T07:52:39Z",
- "createdBy": "1"
}, - "hasForm1099": "false",
- "form1099": {
- "type": null,
- "box": null
}, - "href": "/objects/accounts-payable/adjustment-line/146"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "accounts-payable/adjustment-line" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/adjustment-line",
- "filters": [
- {
- "$eq": {
- "glAccount.id": "6000"
}
}
], - "fields": [
- "key",
- "id",
- "apAdjustment.id",
- "apAdjustment.adjustmentNumber",
- "glAccount.id",
- "glAccount.name",
- "baseAmount",
- "txnAmount",
- "memo"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "700",
- "id": "700",
- "apAdjustment": {
- "id": "67",
- "adjustmentNumber": "credit-001"
}, - "glAccount": {
- "id": "6000",
- "name": "G&A Salaries"
}, - "baseAmount": "7.58",
- "txnAmount": "5.00",
- "memo": "Adj for Bil -001"
}, - {
- "key": "701",
- "id": "701",
- "apAdjustment": {
- "id": "68",
- "adjustmentNumber": "credit-002"
}, - "glAccount": {
- "id": "6000",
- "name": "G&A Salaries"
}, - "baseAmount": "10.00",
- "txnAmount": "7.00",
- "memo": "Adj for Bil -002"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}