---
title: "Retrieve voucher positions"
method: GET
path: "/VoucherPos"
tags: ["VoucherPos"]
---

# Retrieve voucher positions

`GET /VoucherPos`

Retrieve all voucher positions depending on the filters defined in the query.

## Query parameters

- `voucher[id]` integer
- `voucher[objectName]` string

## Response `200`

Successful operation

- object
  - `objects` ModelVoucherPosResponse[]
    - `id` string — The voucher position id
    - `objectName` string — The voucher position object name
    - `create` string — Date of voucher position creation
    - `update` string — Date of last voucher position update
    - `sevClient` object — Client to which voucher position belongs. Will be filled automatically
      - `id` string, required — Unique identifier of the client
      - `objectName` string, required — Model name, which is 'SevClient'
    - `voucher` object, required — The voucher to which the position belongs.
      - `id` string, required — Unique identifier of the voucher
      - `objectName` string, required — Model name, which is 'Voucher'
    - `accountDatev` object, required — <b>Use this in sevdesk-Update 2.0 (replaces accountingType).</b> The account datev to which the position belongs.<br> An account datev is the booking account to which the position belongs.<br> For more information, please refer to <a href='#tag/Voucher/Account-Datev'>this</a> section.
      - `id` integer, required — Unique identifier of the account datev
      - `objectName` string, required — Model name, which is 'AccountDatev'
    - `accountingType` object, required — The accounting type to which the position belongs.<br> An accounting type is the booking account to which the position belongs.<br> For more information, please refer to <a href='#tag/Voucher/Accounting-type'>this</a> section.
      - `id` string, required — Unique identifier of the accounting type
      - `objectName` string, required — Model name, which is 'AccountingType'
    - `estimatedAccountingType` object — The accounting type to which the position belongs estimated by our voucher recognition.<br> An accounting type is the booking account to which the position belongs.<br> For more information, please refer to <a href='#tag/Voucher/Accounting-type'>this</a> section.
      - `id` string, required — Unique identifier of the accounting type
      - `objectName` string, required — Model name, which is 'AccountingType'
    - `taxRate` string, required — Tax rate of the voucher position.
    - `net` boolean, required — Determines whether 'sumNet' or 'sumGross' is regarded.<br> If both are not given, 'sum' is regarded and treated as net or gross depending on 'net'. All positions must be either net or gross, a mixture of the two is not possible.
    - `isAsset` boolean — Determines whether position is regarded as an asset which can be depreciated.
    - `sumNet` string, required — Net sum of the voucher position.<br> Only regarded if 'net' is 'true', otherwise its readOnly.
    - `sumTax` string — Tax sum of the voucher position.
    - `sumGross` string, required — Gross sum of the voucher position.<br> Only regarded if 'net' is 'false', otherwise its readOnly.
    - `sumNetAccounting` string — Net accounting sum. Is equal to sumNet.
    - `sumTaxAccounting` string — Tax accounting sum. Is equal to sumTax.
    - `sumGrossAccounting` string — Gross accounting sum. Is equal to sumGross.
    - `comment` string, nullable — Comment for the voucher position.

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
