GET api/invoice/termsofpayment

Get all terms of payments

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

Collection of TermsOfPaymentResponse
NameDescriptionTypeAdditional information
Id

Id for terms of payment

integer

None.

Name

Description of the terms of payment e.g 30 days net

string

None.

Days

e.g 30

integer

None.

FreeDeliveryMonth

Free delivery month

boolean

None.

DiscountDays

Discount days

integer

None.

Discount

Discount factor, 1.0 = 100% discount, 0.5 = 50%
decimal(18,4)

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Days": 3,
    "FreeDeliveryMonth": true,
    "DiscountDays": 1,
    "Discount": 1.0
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Days": 3,
    "FreeDeliveryMonth": true,
    "DiscountDays": 1,
    "Discount": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfTermsOfPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Invocie">
  <TermsOfPaymentResponse>
    <Days>3</Days>
    <Discount>1</Discount>
    <DiscountDays>1</DiscountDays>
    <FreeDeliveryMonth>true</FreeDeliveryMonth>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </TermsOfPaymentResponse>
  <TermsOfPaymentResponse>
    <Days>3</Days>
    <Discount>1</Discount>
    <DiscountDays>1</DiscountDays>
    <FreeDeliveryMonth>true</FreeDeliveryMonth>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </TermsOfPaymentResponse>
</ArrayOfTermsOfPaymentResponse>