public

POST /v1/public/pricing/tax-quote

What these net prices look like to a signed-out visitor, after VAT.

सबै public इन्डपइन्टहरू

सबै विकासकर्ता कागजातहरू

प्रमाणीकरण

यो इन्डपइन्ट सार्वजनिक हो। यसले कुनै पनि प्रमाण पत्र र संस्था लिँदैन — यो हाम्रो आफ्नै मार्केटिङ साइट र AI उत्तर इन्जिनहरूले पढ्ने कुरा हो।

यो इन्डपोइन्टले कुनै संस्थाको आइडी लिँदैन। तपाईंको कुञ्जीले यस अन्तर्गत पर्ने संस्थालाई पहिल्यै पहिचान गर्छ, र प्रतिक्रिया त्यसैमा सीमित हुन्छ।

प्रयास गर्नुहोस्

कोणीय कोष्ठकभित्र भएका जुनसुकै कुरालाई आफ्नो मानहरूद्वारा बदल्नुहोस्, र मुख्य स्थानहोल्डरलाई तपाईंको ड्यासबोर्डको कुञ्जीद्वारा बदल्नुहोस्।

curl -X POST https://api.zinndigital.com/v1/public/pricing/tax-quote \
  -H "Content-Type: application/json" \
  -d '{ "items": <object[]> }'

लगइन गर्नुभएको छ? तपाईंको ड्यासबोर्डमा रहेको API कन्सोलले तपाईंको वास्तविक संस्थाको आईडी र आफ्नै कुञ्जी भरिदिन्छ, र लाइभ API विरुद्ध अनुरोध चलाउँछ ताकि तपाईंले वास्तविक प्रतिक्रिया हेर्न सक्नुहोस्। यो एन्डपोइन्टलाई API कन्सोलमा खोल्नुहोस्

विवरणहरू

The anonymous half of quoteTaxDisplay (#1482). Same answer, one difference that matters: there is no organisation, so there is no validated VAT number and every visitor is treated as a consumer. ⛔ This route accepts no buyer-validation flag, deliberately. Reverse charge turns on a VIES-validated number and the seller carries the liability for granting it wrongly (docs/34 §2.3), so a client-supplied validation claim would be a request to zero-rate a sale on the buyer's own say-so. Treating everyone as a consumer is also the safe direction: it over-states rather than under-states the tax due. Country comes from the request body or Cloudflare's CF-IPCountry. The answer is always estimated: true — a pricing page runs on a geo hint, and the charge is rated again at checkout against real place-of-supply evidence.

अनुरोध बडी

नामप्रकारआवश्यकयो के हो
countrystringहैनISO 3166-1 alpha-2 destination. On the signed-in route this overrides the stored billing country (the customer may be pricing an address they have not saved). Omitted on the…
currencystringहैनISO 4217. Defaults to the docs/29 §3.1 resolution for the request.
itemsobject[]हुन्छ

प्रतिक्रिया

नामप्रकारआवश्यकयो के हो
currencystringहुन्छ
countrystringहुन्छThe destination the figures were rated for, or "" if none was known.
display_modestring<gross, net>हुन्छWhich figure leads. gross for a consumer (with the VAT shown separately), net for a validated business and for any supply carrying no VAT. ⛔ Read it; do not re-derive it — the…
noticestring<vat_included, reverse_charge, no_vat, vat_at_checkout>हुन्छA key, never rendered prose — every user-facing string goes through the frontend i18n layer in all 58 locales (§2.7, §2.19), so a wording change is a translation change rather…
rate_bpsintegerहुन्छThe single rate behind notice, or 0 where the basket carries more than one. A mixed basket (hosting at the buyer's rate, a website build at UK 20%) genuinely has no single…
estimatedbooleanहुन्छThe figures ran on weak evidence (a geo hint, no billing address) and are indicative. The charge is rated again at checkout against full place-of-supply evidence, and that is…
indeterminatebooleanहुन्छThe supply could not be rated and the net figure is being shown with notice: vat_at_checkout. Never true alongside a non-zero tax_total_minor.
net_total_minorintegerहुन्छ
tax_total_minorintegerहुन्छ
gross_total_minorintegerहुन्छ⛔ Equal to net in the indeterminate fallback, never 0 — a caller rendering this field unconditionally must show the price rather than a free product.
linesobject[]हुन्छ

यो इन्डपोइन्टले फर्काउन सक्ने त्रुटिहरू

422 · 429