GET v1/Locations/{locationId}/Invoices/{invoiceNo}
Gets Invoice Information with Billing Details
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationId |
The Id of the location |
integer |
Required |
invoiceNo |
The number of the invoice |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Invoice Information
InvoiceInformationDTOName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
Amount | decimal number |
None. |
|
BillingDetails | Collection of InvoiceDetailDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "Amount": 2.0, "BillingDetails": [ { "RecordId": "1d6be6b2-8051-4592-b0c4-f71370b41c0b", "Amount": 1.0, "BalanceDue": 2.0, "DueOn": "sample string 3", "PolicyID": 1, "TransactionDate": "sample string 4", "Description": "sample string 5" }, { "RecordId": "1d6be6b2-8051-4592-b0c4-f71370b41c0b", "Amount": 1.0, "BalanceDue": 2.0, "DueOn": "sample string 3", "PolicyID": 1, "TransactionDate": "sample string 4", "Description": "sample string 5" } ] }
application/xml, text/xml
Sample:
<InvoiceInformationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Finance"> <Amount>2</Amount> <BillingDetails> <InvoiceDetailDTO> <Amount>1</Amount> <BalanceDue>2</BalanceDue> <Description>sample string 5</Description> <DueOn>sample string 3</DueOn> <PolicyID>1</PolicyID> <RecordId>1d6be6b2-8051-4592-b0c4-f71370b41c0b</RecordId> <TransactionDate>sample string 4</TransactionDate> </InvoiceDetailDTO> <InvoiceDetailDTO> <Amount>1</Amount> <BalanceDue>2</BalanceDue> <Description>sample string 5</Description> <DueOn>sample string 3</DueOn> <PolicyID>1</PolicyID> <RecordId>1d6be6b2-8051-4592-b0c4-f71370b41c0b</RecordId> <TransactionDate>sample string 4</TransactionDate> </InvoiceDetailDTO> </BillingDetails> <CustomerId>1</CustomerId> </InvoiceInformationDTO>