reseller

POST /v1/reseller/tax-registrations

Add one of your VAT registrations.

Sve reseller krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu reseller.manage; ključ bez nje se odbija sa 403, a ne sa 404.

Gde ide ID vaše organizacije

Ova krajnja tačka prihvata org_id kao parametar upita. Izostavite ga i poziv obuhvata celokupno stablo vašeg zakupca; pošaljite ga da biste suzili poziv na jednu organizaciju.

ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

curl -X POST https://api.zinndigital.com/v1/reseller/tax-registrations \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "jurisdiction": <string>, "number": <string>, "effective_from": <string> }'

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

**This starts charging VAT immediately.** There is no "record the number but do not charge yet" state: the registration row *is* the switch, so from `effective_from` your clients are charged at the rate for the supply and your number is printed on their invoices. The number is yours and the liability is yours — we do not hold it for approval. We check only that the value could be a VAT number at all; we do not verify it exists. Two registrations in force for one jurisdiction at once is a 422, because the rate charged would then depend on row order rather than on a decision — end the old one first. Requires `reseller.manage`.

Parametri

NazivVrstaObaveznoŠta je ovo
org_id (query)UuidNeWhich of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 r…

Telo zahteva

NazivVrstaObaveznoŠta je ovo
idUuidNeUUIDv7 identifier — sortable by creation time (docs/02 §8).
jurisdictionstringDaISO country code of the registration — or `EU` for the Union one-stop-shop, which is a scheme rather than a member state.
schemestring<standard, flat_rate, oss, non_union_oss>Ne
numberstringDaYour VAT registration number, as it must appear on an invoice. Checked for shape only — we do not verify that it exists, and a number that does not will still charge your client…
effective_fromstringDaThe date the registration takes effect. Required and never defaulted to today: the date your tax authority gave you is usually not the day you enter it here, and guessing it eit…
effective_toobjectNeThe date it ended, or `null` while still in force.
in_forcebooleanNeWhether this registration is in force today.
created_atstringNe

Odgovor

NazivVrstaObaveznoŠta je ovo
dataResellerTaxRegistrationDa

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 409 · 422 · 429