Advance lines

An advance line item is associated with a particular advance. Each advance can have any number of line items. Create and maintain advance lines from the owning advance object.

List advance lines

get/objects/accounts-receivable/advance-line

Returns a collection with a key, ID, and link for each advance 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": "2031",
      • "id": "2031",
      • "href": "/objects/accounts-receivable/advance-line/2031"
      },
    • {
      • "key": "2067",
      • "id": "2067",
      • "href": "/objects/accounts-receivable/advance-line/2067"
      },
    • {
      • "key": "856",
      • "id": "856",
      • "href": "/objects/accounts-receivable/advance-line/856"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get an advance line

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

Returns detailed information for a specified advance line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the advance line.

Example: 41
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "2067",
    • "id": "2067",
    • "advance": {
      • "id": "799",
      • "key": "799",
      • "recordType": "rr",
      • "href": "/objects/accounts-receivable/advance/799"
      },
    • "glAccount": {
      • "key": "156",
      • "id": "2200",
      • "name": "Customer Advances",
      • "href": "/objects/general-ledger/account/156"
      },
    • "accountLabel": {
      • "name": "Customer Advances",
      • "id": "westsa"
      },
    • "baseAmount": "100.00",
    • "txnAmount": "100.00",
    • "dimensions": {
      • "department": {
        },
      • "location": {
        },
      • "project": {
        },
      • "contract": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "item": {
        },
      • "class": {
        }
      },
    • "baseLocation": {
      • "id": "United States of America",
      • "key": "1",
      • "href": "/objects/company-config/location/1"
      },
    • "memo": "New contract down payment",
    • "currency": {
      • "exchangeRate": {
        },
      • "baseCurrency": "USD",
      • "txnCurrency": "USD"
      },
    • "lineNumber": 1,
    • "paymentInformation": {
      • "totalPaid": "100.00",
      • "txnTotalPaid": "100.00",
      • "totalSelected": "100.00",
      • "txnTotalSelected": "100.00"
      },
    • "audit": {
      • "createdDateTime": "2024-06-13T06:42:36Z",
      • "modifiedDateTime": "2024-06-13T07:31:51Z",
      • "createdByUser": {
        },
      • "createdBy": "1",
      • "modifiedByUser": {
        },
      • "modifiedBy": "1"
      },
    • "href": "/objects/accounts-receivable/advance-line/2067"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}