reseller

POST /v1/reseller/tax-registrations

Add one of your VAT registrations.

Të gjitha pikat e skajshme reseller

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen reseller.manage; një çelës pa të refuzohet me 403, jo 404.

Ku shkon id i organizatës suaj

Ky endpoint pranon org_id si parametër kërkimi. Lëreni bosh dhe thirrja do të mbulojë të gjithë nëndrurin tuaj të qiramarrjes; dërgojeni atë për ta ngushtuar thirrjen në një organizatë të vetme.

ID-ja e organizatës suaj ndodhet në ekranin e çelësave API në panelin tuaj të kontrollit, pranë vetë çelësit. Është i njëjti ID në çdo thirrje që bëni.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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> }'

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

**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`.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
org_id (query)UuidJoWhich 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…

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
idUuidJoUUIDv7 identifier — sortable by creation time (docs/02 §8).
jurisdictionstringPoISO 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>Jo
numberstringPoYour 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_fromstringPoThe 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_toobjectJoThe date it ended, or `null` while still in force.
in_forcebooleanJoWhether this registration is in force today.
created_atstringJo

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
dataResellerTaxRegistrationPo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 409 · 422 · 429