allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
216 stars 39 forks source link

Tax Setting rates #10047

Open M-Alaa96 opened 1 month ago

M-Alaa96 commented 1 month ago

Hi guys, When trying to retrieve the tax settings rates for example PL and a specific category:

{
    "subjects": [
        {
            "label": "Towar",
            "value": "GOODS"
        },
        {
            "label": "Usługa",
            "value": "SERVICE"
        },
        {
            "label": "Wybierz",
            "value": null
        }
    ],
    "rates": [
        {
            "countryCode": "PL",
            "values": [
                {
                    "label": "23%",
                    "value": "23.00",
                    "exemptionRequired": false
                },
                {
                    "label": "8%",
                    "value": "8.00",
                    "exemptionRequired": false
                },
                {
                    "label": "5%",
                    "value": "5.00",
                    "exemptionRequired": false
                },
                {
                    "label": "ZW",
                    "value": "EXEMPT",
                    "exemptionRequired": false
                },
                {
                    "label": "Wybierz",
                    "value": null,
                    "exemptionRequired": false
                }
            ]
        }
    ],
    "exemptions": [
        {
            "label": "Wyroby akcyzowe",
            "value": "EXCISE_GOODS"
        },
        {
            "label": "Nowe środki transportu",
            "value": "NEW_MEANS_OF_TRANSPORT"
        },
        {
            "label": "Ekwiwalent pieniądza",
            "value": "MONEY_EQUIVALENT"
        },
        {
            "label": "MPV (multi-purpose voucher)",
            "value": "MPV"
        },
        {
            "label": "Procedura marży",
            "value": "MARGIN_SCHEME"
        },
        {
            "label": "Wybierz",
            "value": null
        }
    ]
}

for the rate with label "Wybierz" and value null, does that mean that a free text tax value can be submitted?

AureliuszBrussy commented 1 month ago

This is the value of the label prepared for the drop-down selector, you will not be able to use this value in offer.