[NEWS] Zamówienia - zwracamy stawkę VAT ustawioną w ofercie / Orders - we return the tax rate set in the offer
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 244
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Od dzisiaj w zamówieniach zwracamy stawkę VAT zapisaną w ofercie, w której kupujący zakupił produkt.
**Co zmieniliśmy?**
Możesz odczytać stawkę VAT (o ile została wcześniej zapisana w ofercie) w odpowiedzi dla:
- [GET /order/checkout-forms](https://developer.allegro.pl/documentation#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation#operation/getOrdersDetailsUsingGET).
Do tablicy obiektów "**lineItems[]**" dodaliśmy obiekt "**tax**", w którym zwracamy pola:
- **rate** - stawka podatku,
- **subject** - przedmiot opodatkowania,
- **exemption** - zwolnienie z opodatkowania.
```json5
...
"lineItems": [
...
"tax": {
"rate": "23.00",
"subject": "GOODS",
"exemption": "MONEY_EQUIVALENT"
},
...
]
...
```
>
Nie zwrócimy wszystkich stawek zadeklarowanych w ofercie, ale tylko tę zgodną z krajem, do którego wysłana zostanie przesyłka.
Więcej o zamówieniach [przeczytasz w naszym poradniku](https://developer.allegro.pl/tutorials/jak-obslugiwac-zamowienia-GRaj0qyvwtR). Możesz także [dowiedzieć się więcej](https://developer.allegro.pl/tutorials/jak-jednym-requestem-wystawic-oferte-powiazana-z-produktem-D7Kj9gw4xFA#opcje-faktury-i-stawki-vat) o ustawianiu stawki VAT w ofercie.
_______
Starting today, in orders we return the VAT rate set in the offer in which the buyer purchased the product.
**What did we change?**
You can read the tax rate (if set in the offer) in the response for:
- [GET /order/checkout-forms](https://developer.allegro.pl/documentation#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation#operation/getOrdersDetailsUsingGET).
To the array of objects "**lineItems[]**" we added an object "**tax**", in which we return the fields:
- **rate** - tax rate,
- **subject** - the subject of taxation,
- **exemption** - exemption from taxation.
```json5
...
"lineItems": [
...
"tax": {
"rate": "23.00",
"subject": "GOODS",
"exemption": "MONEY_EQUIVALENT"
},
...
]
...
```
>
We will not return all the rates declared in the offer, but only the one consistent with the country to which the shipment will be sent.
You can read more about processing orders [in our guide](https://developer.allegro.pl/tutorials/process-orders-PgPMlWDr8Cv). You can also [learn more](https://developer.allegro.pl/tutorials/list-offer-assigned-product-one-request-D7Kj9M71Bu6#invoice-and-vat-settings) about setting the tax rate in your offer.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.