v1

latestOpenAPI 3.0.02026-07-1315476656.4 KB
Voucher

Retrieve vouchers

There are a multitude of parameter which can be used to filter. A few of them are attached but for a complete list please check out <a href='#tag/Voucher/How-to-filter-for-certain-vouchers'>this</a> list

get/Voucher

Query parameters

status50 | 100 | 1000

Status of the vouchers to retrieve.

creditDebit'C' | 'D'

Define if you only want credit or debit vouchers.

descriptionLikestring

Retrieve all vouchers with a description like this.

startDateinteger

Retrieve all vouchers with a date equal or higher

endDateinteger

Retrieve all vouchers with a date equal or lower

contact[id]integer

Retrieve all vouchers with this contact. Must be provided with contact[objectName]

contact[objectName]string

Only required if contact[id] was provided. 'Contact' should be used as value.

Response

Successful operation

Example response

{
  "objects": [
    {
      "id": "0",
      "mapAll": true,
      "create": "01.01.2020",
      "update": "01.01.2020",
      "sevClient": {
        "id": "0",
        "objectName": "SevClient"
      },
      "createUser": {
        "id": "0",
        "objectName": "SevUser"
      },
      "voucherDate": "01.01.2020",
      "supplier": {
        "id": "0",
        "objectName": "Contact"
      },
      "supplierName": "John Snow",
      "description": "Voucher-1000",
      "document": {
        "id": "0",
        "objectName": "Document"
      },
      "payDate": "01.01.2020",
      "status": "50",
      "sumNet": "0",
      "sumTax": "0",
      "sumGross": "0",
      "sumNetAccounting": "0",
      "sumTaxAccounting": "0",
      "sumGrossAccounting": "0",
      "sumDiscounts": "0",
      "sumDiscountsForeignCurrency": "0",
      "taxType": "default",
      "creditDebit": "C",
      "costCentre": {
        "id": "0"
      },
      "voucherType": "VOU",
      "currency": "EUR",
      "propertyForeignCurrencyDeadline": "01.01.2022",
      "propertyExchangeRate": "0.8912",
      "recurringStartDate": "01.01.2020",
      "recurringNextVoucher": "01.02.2020",
      "recurringLastVoucher": "01.01.2021",
      "recurringEndDate": "01.01.2021",
      "enshrined": "2024-04-08T00:00:00+02:00",
      "taxSet": {
        "id": "0",
        "objectName": "TaxSet"
      },
      "paymentDeadline": "01.01.2020",
      "deliveryDate": "01.01.2020",
      "deliveryDateUntil": "01.01.2020"
    }
  ]
}