GET 17.0/database/bills/{id}

Description

Retrieve Bills

URI Parameters

Name Description Type Additional information
id

integer

Required

None.

None.

Name Description Type Additional information
ID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

WorkOrderID

integer

None.

AddedDate

date

None.

RaisedDate

date

None.

DueDate

date

None.

Status

byte

None.

StatusDate

date

None.

Reference

string

String length: inclusive between 0 and 20

Amount

decimal number

None.

CommissionEarnedContractor

decimal number

None.

CommissionEarnedPayer

decimal number

None.

UserID

integer

None.

SiteID

integer

None.

CompanyID

integer

None.

PaymentCleared

byte

None.

TransferFees

byte

None.

TransactionGroupID

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "contactID": 2,
  "propertyID": 3,
  "workOrderID": 4,
  "addedDate": "2025-01-09T20:11",
  "raisedDate": "2025-01-09T20:11",
  "dueDate": "2025-01-09T20:11",
  "status": 64,
  "statusDate": "2025-01-09T20:11",
  "reference": "sample string 10",
  "amount": 11.0,
  "commissionEarnedContractor": 12.0,
  "commissionEarnedPayer": 13.0,
  "userID": 14,
  "siteID": 15,
  "companyID": 16,
  "paymentCleared": 64,
  "transferFees": 64,
  "transactionGroupID": 19
}

application/xml, text/xml

Sample:
<Bills xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <ContactID>2</ContactID>
  <PropertyID>3</PropertyID>
  <WorkOrderID>4</WorkOrderID>
  <AddedDate>2025-01-09T20:11:26.8155918+00:00</AddedDate>
  <RaisedDate>2025-01-09T20:11:26.8155918+00:00</RaisedDate>
  <DueDate>2025-01-09T20:11:26.8155918+00:00</DueDate>
  <Status>64</Status>
  <StatusDate>2025-01-09T20:11:26.8155918+00:00</StatusDate>
  <Reference>sample string 10</Reference>
  <Amount>11</Amount>
  <CommissionEarnedContractor>12</CommissionEarnedContractor>
  <CommissionEarnedPayer>13</CommissionEarnedPayer>
  <UserID>14</UserID>
  <SiteID>15</SiteID>
  <CompanyID>16</CompanyID>
  <PaymentCleared>64</PaymentCleared>
  <TransferFees>64</TransferFees>
  <TransactionGroupID>19</TransactionGroupID>
</Bills>