Billback template lines

Line items for a bill back template.

List billback template lines

get/objects/accounts-receivable/billback-template-line

Returns a collection with a key, ID, and link for each billback template line.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "1",
      • "id": "1",
      • "href": "/objects/accounts-receivable/billback-template-line/1"
      },
    • {
      • "key": "8",
      • "id": "8",
      • "href": "/objects/accounts-receivable/billback-template-line/8"
      },
    • {
      • "key": "9",
      • "id": "9",
      • "href": "/objects/accounts-receivable/billback-template-line/9"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a billback template line

get/objects/accounts-receivable/billback-template-line/{key}

Returns detailed information for a particular billback template line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the billback template line.

Example: 145
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "1",
    • "id": "1",
    • "billbackTemplate": {
      • "id": "1",
      • "key": "1",
      • "href": "/objects/accounts-receivable/billback-template/1"
      },
    • "lineNumber": "0",
    • "invoiceGLAccount": {
      • "key": "194",
      • "id": "4000",
      • "name": "Sales",
      • "href": "/objects/general-ledger/account/194"
      },
    • "billGLAccount": {
      • "key": "207",
      • "id": "5001",
      • "name": "Construction",
      • "href": "/objects/general-ledger/account/207"
      },
    • "department": {
      • "key": "9",
      • "id": "11",
      • "name": "Accounting",
      • "href": "/objects/company-config/department/9"
      },
    • "memo": "line 1",
    • "href": "/objects/accounts-receivable/billback-template-line/1"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query billback template lines

post/services/core/query

Use the query service to find billback template lines that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples