GET api/Invoice/InvoiceTotals
Returns total information for invoices requested
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| InvoiceStatus | string |
|
Body Parameters
None
Response Information
Resource Description
Total information for invoices requested
InvoiceTotalResponse| Name | Type | Description | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
|
|
| Message | string |
|
|
| TotalCount | integer |
|
|
| TotalPublishedAmount | integer |
|
|
| TotalDiscountAmount | decimal number |
|
|
| TotalInvoicedAmount | decimal number |
|
|
| TotalInvoiceAmountOwed | decimal number |
|
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"Message": "sample string 2",
"TotalCount": 3,
"TotalPublishedAmount": 4,
"TotalDiscountAmount": 5.0,
"TotalInvoicedAmount": 6.0,
"TotalInvoiceAmountOwed": 7.0
}
application/xml, text/xml
Sample:
<InvoiceTotalResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <IsSuccessful>true</IsSuccessful> <Message>sample string 2</Message> <TotalCount>3</TotalCount> <TotalPublishedAmount>4</TotalPublishedAmount> <TotalDiscountAmount>5</TotalDiscountAmount> <TotalInvoicedAmount>6</TotalInvoicedAmount> <TotalInvoiceAmountOwed>7</TotalInvoiceAmountOwed> </InvoiceTotalResponse>