allegro / allegro/allegro-api

[NEWS] Cena netto i stawka podatku VAT w ofercie / Net price and VAT rate in an offer

Open
#3,286 10 comments 1 reaction 1 assignee Claimed by @MaciejFrackowiak View on GitHub
News
Dominant language
No language data
Stars
244
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Dzisiaj w modelu oferty udostępniliśmy dwa nowe pola:

- **“netPrice”** - cena netto, którą obliczamy automatycznie na podstawie stawki podatku VAT. Nie możesz jej zdefiniować samodzielnie.
- **“tax”** - stawka podatku VAT, możesz ją zdefiniować samodzielnie, gdy w ofercie masz zaznaczoną opcję “faktura VAT”. Obecnie w polu wprowadzisz tylko stawki podatku VAT określone polskim prawem (0%, 5%, 8%, 23%).

Model oferty po zmianie:

```
...
"sellingMode": {
"format": "BUY_NOW",
"price": {
"amount": "2460",
"currency": "PLN"
},
"netPrice": {
"amount": "2000",
"currency": "PLN"
},
"startingPrice": null,
"minimalPrice": null
},
"tax": {
"percentage": "23.00"
},
...
```
Dzięki zmianie w przyszłości zaprezentujemy kupującym w ofertach stawkę VAT i cenę netto produktu.
**Ważne!** Pamiętaj, że transakcję z kupującym zawierasz na podstawie ceny brutto. Obecnie cenę netto zwracamy w celach informacyjnych.

-----
Today in the offer model we have introduced two new fields:

- **“netPrice”** - net price, which we calculate automatically based on the VAT rate. You cannot define it yourself.
- **“tax”** - VAT rate, which you can define, if the "VAT invoice" option is selected in the offer. At present you can use only the following VAT rates specified by Polish law (0%, 5%, 8%, 23%).

Offer model after change:

```
...
"sellingMode": {
"format": "BUY_NOW",
"price": {
"amount": "2460",
"currency": "PLN"
},
"netPrice": {
"amount": "2000",
"currency": "PLN"
},
"startingPrice": null,
"minimalPrice": null
},
"tax": {
"percentage": "23.00"
},
...
```
Owing to the change, in the future we will show in the offers the VAT rate and net price of the product.
**Note!** Remember the transaction with the customer is settled on the gross price basis (including VAT). We provide a net price for informational purposes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.