Connector API
  • Mews Connector API
  • Getting started
  • Usage guidelines
    • Authentication
    • Requests
    • Responses
    • Environments
    • Serialization
    • Pagination
    • Best practices
  • Concepts
    • Multi-property
    • Restrictions
    • Taxation
    • Time units
  • Use cases
    • 'How to' use cases
    • Accounting
    • Customer loyalty
    • Customer management
    • Customer messaging
    • Data export
    • Device integration
    • Events
    • Guest technology
    • Housekeeping
    • Kiosk
    • Mews Payment Terminals
    • Payment automation
    • Point of sale
    • Reputation management
    • Revenue management
    • Upsell
  • API Operations
    • Common objects
    • Accounting categories
    • Accounting items
    • Accounts
    • Account notes
    • Addresses
    • Age categories
    • Availability adjustments
    • Availability blocks
    • Billing automations
    • Bills
    • Business segments
    • Cancellation policies
    • Cashiers
    • Cashier transactions
    • Commands
    • Companies
    • Companionships
    • Company contracts
    • Configuration
    • Counters
    • Countries
    • Credit cards
    • Currencies
    • Customers
    • Departments
    • Devices
    • Enterprises
    • Exchange rates
    • Exports
    • Identity documents
    • Images
    • Languages
    • Loyalty memberships
    • Loyalty programs
    • Loyalty tiers
    • Messages
    • Message threads
    • Order items
    • Orders
    • Outlet bills
    • Outlet items
    • Outlets
    • Payments
    • Payment requests
    • Preauthorizations
    • Product categories
    • Product service orders
    • Products
    • Rates
    • Rate groups
    • Reservations
    • Reservation groups
    • Resource access tokens
    • Resource blocks
    • Resources
    • Resource categories
    • Resource features
    • Restrictions
    • Routing rules
    • Rules
    • Service order notes
    • Service overbooking limits
    • Services
    • Source assignments
    • Sources
    • Tasks
    • Tax environments
    • Taxations
    • Vouchers
    • Voucher codes
  • API Events
    • Ways to communicate
    • General Webhooks
    • Integration Webhooks
    • Webhooks FAQ
    • WebSockets
  • Your integration journey
    • Certification
  • Deprecations
    • Migration guide: Get all reservations
  • Changelog
    • Changelog 2024
    • Changelog 2023
    • Changelog 2022
    • Changelog 2021
    • Changelog 2020
    • Changelog 2019
    • Changelog 2018
    • Changelog 2017
    • Changelog 2016
Powered by GitBook
On this page
  • Get all taxations
  • Request
  • Response
  • Tax rate strategy data

Was this helpful?

  1. API Operations

Taxations

Get all taxations

Returns all taxations supported in tax environments.

Request

[PlatformAddress]/api/connector/v1/taxations/getAll

{
    "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
    "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
    "Client": "Sample Client 1.0.0"
}
Property
Type
Contract
Description

ClientToken

string

required

Token identifying the client application.

AccessToken

string

required

Access token of the client application.

Client

string

required

Name and version of the client application.

Response

{
    "Taxations": [
        {
            "Code": "AT-2020",
            "Name": "VAT",
            "LocalName": "MWST"
        },
        {
            "Code": "AT-2020-Extra",
            "Name": "Extra tax on top of VAT",
            "LocalName": "Extra tax on top of MWST"
        },
        {
            "Code": "AT-2016",
            "Name": "VAT",
            "LocalName": "MWST"
        },
        {
            "Code": "AT",
            "Name": "VAT",
            "LocalName": "MWST"
        }
    ],
    "TaxRates": [
        {
            "Code": "AT-2020-21%",
            "TaxationCode": "AT",
            "Strategy": {
                "Discriminator": "Relative",
                "Value": {
                    "Value": 0.21
                }
            }
        },       
        {
            "Code": "AT-2020-Extra-10%",
            "TaxationCode": "AT-2020-Extra-10%",
            "Strategy": {
                "Discriminator": "Dependent",
                "Value": {
                    "BaseTaxationCodes": [
                        "AT-2020"
                    ],
                    "Value": 0.1
                }
            }
        },
        {
            "Code": "AT-5-EUR",
            "TaxationCode": "AT",
            "Strategy": {
                "Discriminator": "Flat",
                "Value": {
                    "Value": 5.0,
                    "CurrencyCode": "EUR"
                }
            }
        }
    ]
}
Property
Type
Contract
Description

Taxations

required

The supported taxations.

TaxRates

required

The supported tax rates.

Taxation

Property
Type
Contract
Description

Code

string

required

Code of the taxation.

Name

string

required

Name of the taxation.

LocalName

string

required

Local name of the taxation.

Tax rate

Definition of single tax rate.

Property
Type
Contract
Description

Code

string

required

Code of the tax rate. To be used when posting revenue items which should be accompanied by the tax rate(s) applicable to the nature of the item and the tax environment.

TaxationCode

string

required

Strategy

required

Tax strategy type, e.g. relative, flat or dependent.

Tax rate strategy

Property
Type
Contract
Description

Discriminator

required

If tax rate is flat, relative or dependent.

Value

object

required

Tax rate strategy discriminator

Tax rate strategy data

Flat tax rate strategy data

Property
Type
Contract
Description

Value

number

required

Absolute value of tax.

CurrencyCode

string

required

Relative tax rate strategy data

Property
Type
Contract
Description

Value

decimal

required

Tax rate, e.g. 0.21 in case of 21% tax rate.

Dependent tax rate strategy data

Property
Type
Contract
Description

BaseTaxationCodes

array of string

required

Value

decimal

required

Tax rate, e.g. 0.1 in case of 10% tax rate.

PreviousTax environmentsNextVouchers

Last updated 2 years ago

Was this helpful?

array of

array of

Taxation represents set of within .

Code of the the rate is part of.

object

string

Structure of the object depends on .

Flat - Used with (e.g. 5.00 EUR).

Relative - Used with (e.g. 21%). Relative tax is calculated only from net base value.

Dependent - Used with (e.g. 10%). Dependent tax is calculated from net base value and all taxes it depends on.

Code of .

Codes of the that are included in the base of calculation.

Flat tax rate strategy data
Relative tax rate strategy data
Dependent tax rate strategy data
Taxation
Tax rate
Taxation
Tax rate strategy
Tax rate strategy discriminator
Tax rate strategy discriminator
taxations
Tax rates
Tax environment
Currency