GET 17.0/database/invoices/{id}/{companyid}

Description

Retrieve Invoices

URI Parameters

Name Description Type Additional information
id

integer

Required

companyID

integer

Required

None.

None.

Name Description Type Additional information
ID

integer

None.

CompanyID

integer

None.

ContactID

integer

None.

PropertyID

integer

None.

TenancyID

integer

None.

AddedDate

date

None.

Status

byte

None.

UserID

integer

None.

SiteID

integer

None.

StatementID

integer

None.

FooterText

string

None.

SendRequired

byte

None.

PropertyOfferID

integer

None.

Type

byte

None.

PurchaseOrder

string

String length: inclusive between 0 and 25

application/json, text/json

Sample:
{
  "id": 1,
  "companyID": 2,
  "contactID": 3,
  "propertyID": 4,
  "tenancyID": 5,
  "addedDate": "2025-01-09T20:45",
  "status": 64,
  "userID": 8,
  "siteID": 9,
  "statementID": 10,
  "footerText": "sample string 11",
  "sendRequired": 64,
  "propertyOfferID": 13,
  "type": 64,
  "purchaseOrder": "sample string 15"
}

application/xml, text/xml

Sample:
<Invoices xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <CompanyID>2</CompanyID>
  <ContactID>3</ContactID>
  <PropertyID>4</PropertyID>
  <TenancyID>5</TenancyID>
  <AddedDate>2025-01-09T20:45:38.4532642+00:00</AddedDate>
  <Status>64</Status>
  <UserID>8</UserID>
  <SiteID>9</SiteID>
  <StatementID>10</StatementID>
  <FooterText>sample string 11</FooterText>
  <SendRequired>64</SendRequired>
  <PropertyOfferID>13</PropertyOfferID>
  <Type>64</Type>
  <PurchaseOrder>sample string 15</PurchaseOrder>
</Invoices>