Invoice lines

Line items in an invoice represent transactions captured in that invoice. Create and maintain invoice lines from the owning invoice object.

List invoice lines

get/objects/accounts-receivable/invoice-line

Returns a collection with a key, ID, and link for each invoice 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.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "1",
      • "id": "1",
      • "href": "/objects/accounts-receivable/invoice-line/1"
      },
    • {
      • "key": "3",
      • "id": "3",
      • "href": "/objects/accounts-receivable/invoice-line/3"
      },
    • {
      • "key": "19",
      • "id": "19",
      • "href": "/objects/accounts-receivable/invoice-line/19"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100
    }
}

Get an invoice line

get/objects/accounts-receivable/invoice-line/{key}

Returns detailed information for a specified invoice line item.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the invoice line item.

Example: 99
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "2702",
    • "key": "2702",
    • "invoice": {
      • "id": "292",
      • "key": "292",
      • "href": "/objects/accounts-receivable/invoice/292"
      },
    • "glAccount": {
      • "key": "254",
      • "id": "6103",
      • "name": "Bonuses",
      • "href": "/objects/general-ledger/account/254"
      },
    • "overrideOffsetGLAccount": {
      • "key": "36",
      • "id": "1200",
      • "name": "Accounts Receivable",
      • "href": "/objects/general-ledger/account/36"
      },
    • "accountLabel": {
      • "name": "Bonuses",
      • "key": "35",
      • "id": "Bonuses",
      • "href": "/objects/accounts-receivable/account-label/35"
      },
    • "createdDate": "2024-09-24",
    • "baseAmount": "400.00",
    • "txnAmount": "400.00",
    • "dimensions": {
      • "department": {
        },
      • "location": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "item": {
        },
      • "class": {
        },
      • "warehouse": {
        }
      },
    • "baseLocation": {
      • "name": "Australia",
      • "key": "4",
      • "href": "/objects/company-config/location/4"
      },
    • "memo": "line 1",
    • "currency": {
      • "exchangeRate": {
        },
      • "txnCurrency": "AUD",
      • "baseCurrency": "AUD"
      },
    • "allocation": {
      • "key": null,
      • "id": null
      },
    • "lineNumber": 1,
    • "paymentInformation": {
      • "totalBaseAmountPaid": "0.00",
      • "totalTxnAmountPaid": "0.00",
      • "totalBaseAmountSelectedForPayment": "0.00",
      • "totalTxnAmountSelectedForPayment": "0.00"
      },
    • "isSubtotal": null,
    • "audit": {
      • "createdDateTime": "2024-09-24T14:18:20Z",
      • "modifiedDateTime": "2024-09-24T14:18:20Z",
      • "createdBy": "1",
      • "modifiedBy": "1"
      },
    • "taxEntries": [
      • {
        }
      ],
    • "href": "/objects/accounts-receivable/invoice-line/2702"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}