Get VAT rules

GET /api-v1/accounting-period/vat-rule

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • id integer
    • name object
      Hide name attributes Show name attributes object
      • de string
      • en string
      • fr string
      • it string
    • rule string

      Values are NONE, AGREED_SERVICE, RECEIVED_COMPENSATION, NTDR_AGREED_SERVICE, NTDR_RECEIVED_COMPENSATION, FLAT_RATE_RECEIVED_COMPENSATION, or FLAT_RATE_AGREED_SERVICE.

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/accounting-period/vat-rule
curl \
 --request GET 'https://wyzio.app/api-v1/accounting-period/vat-rule' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "id": 42,
    "name": {
      "de": "string",
      "en": "string",
      "fr": "string",
      "it": "string"
    },
    "rule": "NONE"
  }
]