GET api/Invoice/Detail/{UserGUID}/{InvoiceNumber}
Retrieve the details for an invoice including file data
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserGUID |
Unique user authorization token |
string |
Required |
InvoiceNumber |
Invoice identifier |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
InvoiceRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful |
Used to determine if method call was successful (true) or failure (false) |
boolean |
None. |
ErrorMessage |
The error message if method call was not successful |
string |
None. |
Invoices |
List of invoice |
Collection of InvoiceItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "Invoices": [ { "InvoiceGUID": "sample string 1", "InvoiceNumber": 2, "InvoicePostDate": "2024-12-28T09:10:51.4435409+00:00", "InvoiceDueDate": "2024-12-28T09:10:51.4435409+00:00", "Amount": 5.0, "TaxAmount": 6.0, "TotalAmount": 7.0, "Balance": 8.0, "PayoffDate": "2024-12-28T09:10:51.4435409+00:00", "CurrencyID": "sample string 9", "InvoiceFormID": 10, "FileData": "sample string 11", "FileName": "sample string 12" }, { "InvoiceGUID": "sample string 1", "InvoiceNumber": 2, "InvoicePostDate": "2024-12-28T09:10:51.4435409+00:00", "InvoiceDueDate": "2024-12-28T09:10:51.4435409+00:00", "Amount": 5.0, "TaxAmount": 6.0, "TotalAmount": 7.0, "Balance": 8.0, "PayoffDate": "2024-12-28T09:10:51.4435409+00:00", "CurrencyID": "sample string 9", "InvoiceFormID": 10, "FileData": "sample string 11", "FileName": "sample string 12" } ] }
application/xml, text/xml
Sample:
<InvoiceResp xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsSuccessful>true</IsSuccessful> <ErrorMessage>sample string 2</ErrorMessage> <Invoices> <InvoiceItem> <InvoiceGUID>sample string 1</InvoiceGUID> <InvoiceNumber>2</InvoiceNumber> <InvoicePostDate>2024-12-28T09:10:51.4435409+00:00</InvoicePostDate> <InvoiceDueDate>2024-12-28T09:10:51.4435409+00:00</InvoiceDueDate> <Amount>5</Amount> <TaxAmount>6</TaxAmount> <TotalAmount>7</TotalAmount> <Balance>8</Balance> <PayoffDate>2024-12-28T09:10:51.4435409+00:00</PayoffDate> <CurrencyID>sample string 9</CurrencyID> <InvoiceFormID>10</InvoiceFormID> <FileData>sample string 11</FileData> <FileName>sample string 12</FileName> </InvoiceItem> <InvoiceItem> <InvoiceGUID>sample string 1</InvoiceGUID> <InvoiceNumber>2</InvoiceNumber> <InvoicePostDate>2024-12-28T09:10:51.4435409+00:00</InvoicePostDate> <InvoiceDueDate>2024-12-28T09:10:51.4435409+00:00</InvoiceDueDate> <Amount>5</Amount> <TaxAmount>6</TaxAmount> <TotalAmount>7</TotalAmount> <Balance>8</Balance> <PayoffDate>2024-12-28T09:10:51.4435409+00:00</PayoffDate> <CurrencyID>sample string 9</CurrencyID> <InvoiceFormID>10</InvoiceFormID> <FileData>sample string 11</FileData> <FileName>sample string 12</FileName> </InvoiceItem> </Invoices> </InvoiceResp>