GET api/invoice/invoicetype

Gets all invoice types

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

Collection of InvoiceTypeResponse
NameDescriptionTypeAdditional information
Id

Id of the invoice type

integer

None.

Name

Description of the invoice type

1 = NormalInvoice
2 = CollectedInvoice
3 = InternalInvoice
4 = DirectInvoice
5 = CancelledInvoice
6 = InterestInvoice
7 = InterestNextInvoice
8 = FleetInvoice

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceTypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Invocie">
  <InvoiceTypeResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </InvoiceTypeResponse>
  <InvoiceTypeResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </InvoiceTypeResponse>
</ArrayOfInvoiceTypeResponse>