Bill back template lines

Line items in a bill back template provide the GL accounts and departments to use for line items in corresponding invoices and bills. Create and maintain bill back template lines from the owning bill back template object.

List bill back template lines

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

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

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 bill back template line

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

Returns detailed information for a specified bill back template line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the bill back template line.

Example: 9
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "5",
    • "id": "5",
    • "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/5"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}