GET /bills
Changed onGets the latest bills for a business.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Query parameters
Transaction date greater than or equal to parameter in the format: YYYY-MM-DD.
Transaction date less than or equal to parameter in the format: YYYY-MM-DD.
The offset is the position in the dataset of a particular record.
This is the size of the results set you would like (default: 100).
Response
Example response
{
"count": 1,
"meta": {
"reportId": [
"5fad8a342a88364234392fb5",
"5fad8a342a88364234392fb6"
],
"serviceName": "xero",
"businessName": "Railz",
"startDate": "2020-11-25T01:02:03Z",
"endDate": "2020-11-30T01:02:03Z",
"createdAt": "2020-11-25T01:02:03Z",
"updatedAt": "2020-11-30T01:02:03Z"
},
"data": [
{
"id": "1",
"vendorRef": {
"id": "1",
"name": "Home Depot"
},
"purchaseOrderRef": {
"id": "21"
},
"purchaseOrderRefs": [
{
"id": "21"
}
],
"postedDate": "2021-03-09T10:18:29.985Z",
"dueDate": "2021-03-09T10:18:29.985Z",
"currencyRef": {
"id": "CAD",
"name": "Canadian Dollar",
"symbol": "USD,CAD"
},
"currencyRate": 1.13,
"vendorInvoiceNumber": "INV-0028",
"lines": [
{
"description": "Services rendered.",
"unitAmount": 100.5,
"quantity": 3,
"taxAmount": 20.5,
"taxRateRef": {
"id": "1",
"name": "HST",
"effectiveTaxRate": 13
},
"inventoryRef": {
"id": "1",
"name": "Digital Services"
},
"discountPercentage": 10.5,
"id": "8a3fdcc9-83eb-4fdd-83e0-52ec1b40b072",
"accountRef": {
"id": "145",
"name": "Example account"
},
"trackingCategoryRef": {
"id": "4040",
"name": "Region",
"option": "East",
"optionId": "40401"
},
"totalAmount": 10.5,
"customerRef": {
"id": "124",
"name": "Railz"
},
"billableStatus": "notBillable",
"subTotal": 301.5
}
],
"subTotal": 301.5,
"taxAmount": 20.5,
"totalAmount": 322,
"amountDue": 322,
"memo": "Example bill memo.",
"payments": [
{
"amount": 50.5,
"paymentId": "50",
"date": "2021-03-09T10:18:29.985Z"
}
],
"subsidiaryRefs": [
{
"id": "1",
"name": "Railz Financial"
}
],
"locationRef": {
"id": "52",
"name": "United States"
},
"sourceModifiedDate": "2021-03-09T10:18:29.985Z"
}
]
}Changes
- info
api tag
Billadded
- info
- breaking
removed the enum value
plaidfrom thequeryrequest parameterserviceName - breaking
removed the enum value
shopifyfrom thequeryrequest parameterserviceName - breaking
removed the enum value
squarefrom thequeryrequest parameterserviceName - breaking
removed the enum value
wavefrom thequeryrequest parameterserviceName - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
the
////response's property format changed fromintegertofloatfor status - breaking
the
////response's property format changed fromintegertofloatfor status - breaking
the
////response's property type changed fromobjectto no type for status - breaking
the
////response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
removed the required property
/////from the response with the status - breaking
removed the required property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
added the new
byodenum value to the/response property for the response status - warning
added the new
byodenum value to the/response property for the response status - warning
added the new
dynamics365Financeenum value to the/response property for the response status - warning
added the new
dynamics365Financeenum value to the/response property for the response status - warning
added the new
dynamicsBusinessCentralenum value to the/response property for the response status - warning
added the new
dynamicsBusinessCentralenum value to the/response property for the response status - warning
added the new
freshbooksenum value to the/response property for the response status - warning
added the new
freshbooksenum value to the/response property for the response status - warning
added the new
myobenum value to the/response property for the response status - warning
added the new
myobenum value to the/response property for the response status - warning
added the new
oracleNetsuiteenum value to the/response property for the response status - warning
added the new
oracleNetsuiteenum value to the/response property for the response status - warning
added the new
quickbooksenum value to the/response property for the response status - warning
added the new
quickbooksenum value to the/response property for the response status - warning
added the new
quickbooksDesktopenum value to the/response property for the response status - warning
added the new
quickbooksDesktopenum value to the/response property for the response status - warning
added the new
sageBusinessCloudenum value to the/response property for the response status - warning
added the new
sageBusinessCloudenum value to the/response property for the response status - warning
added the new
sageIntacctenum value to the/response property for the response status - warning
added the new
sageIntacctenum value to the/response property for the response status - warning
added the new
waveenum value to the/response property for the response status - warning
added the new
waveenum value to the/response property for the response status - warning
added the new
xeroenum value to the/response property for the response status - warning
added the new
xeroenum value to the/response property for the response status - warning
added the new
zohoBooksenum value to the/response property for the response status - warning
added the new
zohoBooksenum value to the/response property for the response status - info
added the new enum value
dynamics365Financeto thequeryrequest parameterserviceName - info
added the new enum value
zohoBooksto thequeryrequest parameterserviceName - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
added to the
////response propertyallOflist for the response status - info
added to the
////response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
response property
data/items/lines/items/subTotaldeprecated - info
response property
data/items/lines/items/subTotaldeprecated - info
response property
data/items/lines/items/totalAmountdeprecated - info
response property
data/items/lines/items/totalAmountdeprecated - info
response property
data/items/lines/items/trackingCategoryRefdeprecated - info
response property
data/items/lines/items/trackingCategoryRefdeprecated - info
response property
data/items/locationRefdeprecated - info
response property
data/items/locationRefdeprecated
- breaking