Aller au contenu
Sur cette page

Billing

Read the platform B2C EU VAT mode

GET /api/v1/platform/vat-mode

Nécessite une authentification (jeton Bearer) et l’en-tête X-Organization-Id.

Deployment-level tax registration status (#703). home_country = all EU consumers are charged the seller country rate (legal under the €10,000 EU micro-business threshold, Art. 59c — domestic sales do not count); oss_destination = buyer member-state rate (requires OSS registration). Only the PLATFORM organization's own token may call this — tenant orgs receive 403. Requires the organizations.view scope.

Réponses

Statut Description
200 Current mode
403 Not the platform organization

Exemple de requête

curl -X GET "https://app.encryptinvoice.com/api/v1/platform/vat-mode" \
  -H "Authorization: Bearer {{access_token}}" \
  -H "X-Organization-Id: {{organization_id}}" \
  -H "Accept: application/json"

Switch the platform B2C EU VAT mode

PUT /api/v1/platform/vat-mode

Nécessite une authentification (jeton Bearer) et l’en-tête X-Organization-Id.

Audit-logged (who/when/from/to). Only the platform organization's own token; requires the organizations.update scope. Switch to oss_destination BEFORE crossing the €10,000 threshold.

Corps de la requête

Champ Type Requis Description
b2c_eu_mode string oui

Réponses

Statut Description
200 Updated mode
422 Unknown mode
403 Not the platform organization

Exemple de requête

curl -X PUT "https://app.encryptinvoice.com/api/v1/platform/vat-mode" \
  -H "Authorization: Bearer {{access_token}}" \
  -H "X-Organization-Id: {{organization_id}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "b2c_eu_mode": "string"
}'

Nous utilisons des cookies et des analyses respectueuses de la vie privée

Nous utilisons des cookies essentiels pour l'authentification et des analyses respectueuses de la vie privée (auto-hébergées, respectent Do Not Track). Aucun suivi publicitaire ou tiers. En savoir plus dans notre Politique de confidentialité