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": "d44104c0-5fe0-4db9-b361-7fa07cfafb8d", "Amount": 1.0, "BalanceDue": 2.0, "DueOn": "sample string 3", "PolicyID": 1, "TransactionDate": "sample string 4", "Description": "sample string 5" }, { "RecordId": "d44104c0-5fe0-4db9-b361-7fa07cfafb8d", "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>d44104c0-5fe0-4db9-b361-7fa07cfafb8d</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>d44104c0-5fe0-4db9-b361-7fa07cfafb8d</RecordId> <TransactionDate>sample string 4</TransactionDate> </InvoiceDetailDTO> </BillingDetails> <CustomerId>1</CustomerId> </InvoiceInformationDTO>