Returns up to 100 object references from the collection with a key, ID, and link for each bill line. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Accounts Payable |
---|---|
User type | Business user |
Permissions | List, View Bills |
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/accounts-payable/bill-line/1"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/accounts-payable/bill-line/3"
}, - {
- "key": "5",
- "id": "5",
- "href": "/objects/accounts-payable/bill-line/5"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified line item in a bill.
Subscription | Accounts Payable |
---|---|
User type | Business user |
Permissions | List, View Bills |
key required | string System-assigned unique key for the bill line. |
OK
Bad Request
{- "ia::result": {
- "id": "94",
- "key": "94",
- "bill": {
- "id": "18",
- "key": "18",
- "href": "/objects/accounts-payable/bill/18"
}, - "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
}, - "createdDate": "20224-02-21",
- "baseAmount": "48550.00",
- "txnAmount": "48550.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": "Health Care",
- "href": "/objects/company-config/class/1"
}, - "warehouse": {
- "key": 2,
- "id": "Distribution",
- "name": "Distribution center",
- "href": "/objects/inventory-control/warehouse/2"
}, - "contract": {
- "key": null,
- "id": null,
- "name": null
}, - "task": {
- "key": null,
- "id": null,
- "name": null
}
}, - "baseLocation": {
- "name": "Australia",
- "key": "4",
- "href": "/objects/company-config/location/4"
}, - "memo": "bill - 001 - vendor 1099",
- "currency": {
- "exchangeRate": {
- "date": "2024-02-21",
- "typeId": "-99",
- "rate": 1.0679
}, - "txnCurrency": "USD",
- "baseCurrency": "AUD"
}, - "allocation": {
- "name": null,
- "id": null,
- "key": null
}, - "hasForm1099": "false",
- "lineNumber": "1",
- "paymentInformation": {
- "totalBaseAmountPaid": 0,
- "totalTxnAmountPaid": 0,
- "totalBaseAmountSelectedForPayment": 48550,
- "totalTxnAmountSelectedForPayment": 48550
}, - "project": {
- "isBillable": false,
- "isBilled": false
}, - "releaseToPay": false,
- "form1099": {
- "type": null,
- "box": null
}, - "retainage": {
- "percentage": null,
- "txnAmountRetained": null,
- "baseAmountRetained": null,
- "hasRetainage": null,
- "txnAmountReleased": null,
- "release": null
}, - "isSubTotal": null,
- "purchasing": {
- "document": {
- "key": null,
- "id": null
}, - "documentLine": {
- "key": null,
- "id": null
}
}, - "fixedAsset": {
- "nameOfAcquiredAsset": null,
- "includeTaxInAssetCost": false
}, - "href": "/objects/accounts-payable/bill-line/94"
}, - "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/bill-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/bill-line",
- "filters": [
- {
- "$eq": {
- "releaseToPay": true
}
}
], - "fields": [
- "key",
- "id",
- "glAccount.name",
- "paymentInformation.totalTxnAmountPaid",
- "bill.id"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "2291",
- "id": "2291",
- "glAccount.name": "Payroll Expenses",
- "paymentInformation.totalTxnAmountPaid": "75.00",
- "bill.id": "202"
}, - {
- "key": "2383",
- "id": "2383",
- "glAccount.name": "Office Supplies",
- "paymentInformation.totalTxnAmountPaid": "125.00",
- "bill.id": "225"
}, - {
- "key": "2387",
- "id": "2387",
- "glAccount.name": "Inventory",
- "paymentInformation.totalTxnAmountPaid": "300.00",
- "bill.id": "899"
}, - {
- "key": "4501",
- "id": "4501",
- "glAccount.name": "Purchasing Price Variance",
- "paymentInformation.totalTxnAmountPaid": "2000.00",
- "bill.id": "993"
}, - {
- "key": "4944",
- "id": "4944",
- "glAccount.name": "Equipment",
- "paymentInformation.totalTxnAmountPaid": "620.00",
- "bill.id": "1061"
}
], - "ia::meta": {
- "totalCount": 5,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}