Rate table accounts payable lines

Rate table accounts payable lines contain criteria for applying a default markup % to matching accounts payable transactions during invoicing.

  • Each line requires only 1 value be provided.
  • Lines with the exact same values (excluding description and markup %) are considered duplicates and are not allowed.
  • If no value is given for a property then the line will match on any transaction, otherwise it will only match on transactions with that property.
  • Lines with the most matches will be used as the invoice default markup %.
  • If multiple lines have the same number of matches then the one with the most recent start date will be used.
  • If multiple lines have the same number of matches and the same start date (or none at all) then the line with the lowest line number will be used.

List rate table accounts payable lines

get/objects/construction/rate-table-accounts-payable-line

Returns up to 100 object references from the collection with a key, ID, and link for each object. This operation is mostly for use in testing; use query 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": "84",
      • "id": "84",
      • "href": "/objects/construction/rate-table-accounts-payable-line/84"
      },
    • {
      • "key": "85",
      • "id": "85",
      • "href": "/objects/construction/rate-table-accounts-payable-line/85"
      },
    • {
      • "key": "60",
      • "id": "60",
      • "href": "/objects/construction/rate-table-accounts-payable-line/60"
      },
    • {
      • "key": "78",
      • "id": "78",
      • "href": "/objects/construction/rate-table-accounts-payable-line/78"
      },
    • {
      • "key": "79",
      • "id": "79",
      • "href": "/objects/construction/rate-table-accounts-payable-line/79"
      }
    ],
  • "ia::meta": {
    • "totalCount": 5,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a rate table accounts payable line

get/objects/construction/rate-table-accounts-payable-line/{key}

Returns detailed information for a particular rate table accounts payable line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the rate table accounts payable line.

Example: 35
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "397",
    • "id": "397",
    • "rateTable": {
      • "key": "145",
      • "id": "2021-LV2",
      • "name": "2021 Level 2",
      • "href": "/objects/construction/rate-table/145"
      },
    • "href": "/objects/construction/rate-table-credit-card-line/397",
    • "lineNumber": 1,
    • "description": "Aug Service",
    • "startDate": "2021-08-01",
    • "markupPercent": "25.500",
    • "accumulationType": {
      • "key": "2",
      • "id": "ACCT-2",
      • "href": "/objects/construction/accumulation-type/2"
      },
    • "standardCostType": {
      • "key": "33",
      • "id": "CT-RT-0010",
      • "name": "CT-RT-0010 MATERIAL",
      • "href": "/objects/construction/standard-cost-type/33"
      },
    • "standardTask": {
      • "key": "3",
      • "id": "TSK-RT-0011",
      • "name": "TSK-RT-0011 Name",
      • "href": "/objects/construction/standard-task/3"
      },
    • "dimensions": {
      • "employee": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "item": {
        },
      • "warehouse": {
        },
      • "class": {
        },
      • "task": {
        }
      },
    • "audit": {
      • "createdDateTime": "2014-01-08T11:28:12Z",
      • "modifiedDateTime": "2014-01-08T11:28:12Z",
      • "createdBy": "1",
      • "modifiedBy": "95"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query rate table accounts payable lines

post/services/core/query

Use the query service to find rate table accounts payable lines that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples