GET api/{database}/SalesInvoiceSummary/{customerId}/{startDate}?endDate={endDate}&fiscalYear={fiscalYear}

Gets the specified SalesInvoiceSummary.



Request Information

Parameters

NameDescriptionAdditional information
customerId The customerId.

Define this parameter in the request URI.

startDate The startDate.

Define this parameter in the request URI.

endDate The endDate.

Define this parameter in the request URI.

fiscalYear The fiscalYear.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "balanceInvoiceAmount": 1.0,
  "numberOfPayments": 2,
  "openSettledInvoiceAmount": 3.0,
  "settledInvoiceAmount": 4.0,
  "totalCount": 5,
  "totalInvoiceAmount": 6.0,
  "totalOpenCount": 7,
  "totalOpenInvoiceAmount": 8.0,
  "unweightedCount": 9.0,
  "weightedCount": 10.0
}

application/xml, text/xml

Sample:
<SalesInvoiceSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Info">
  <BalanceInvoiceAmount>1</BalanceInvoiceAmount>
  <NumberOfPayments>2</NumberOfPayments>
  <OpenSettledInvoiceAmount>3</OpenSettledInvoiceAmount>
  <SettledInvoiceAmount>4</SettledInvoiceAmount>
  <TotalCount>5</TotalCount>
  <TotalInvoiceAmount>6</TotalInvoiceAmount>
  <TotalOpenCount>7</TotalOpenCount>
  <TotalOpenInvoiceAmount>8</TotalOpenInvoiceAmount>
  <UnweightedCount>9</UnweightedCount>
  <WeightedCount>10</WeightedCount>
</SalesInvoiceSummary>