{"uid":"cap_nlgGpkZ3PuHcXNSiE8vL-","slug":"eu-vat-rules-engine-10dc426d","name":"EU VAT Rules Engine","description":"EU VAT decision engine for invoicing and e-invoicing: determines place of supply, reverse charge, intra-Community supply, export or domestic VAT, returns the rate and the EN 16931 / UNCL5305 VAT category code (BT-151) plus exemption reason code (BT-121) and ready-to-use invoice wording (EN/DE) with the legal article reference. For XRechnung, ZUGFeRD, Peppol BIS and OSS workflows.","url":"https://api.eucompliance.tools/x402/vat-rules?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["supplier","customer"],"properties":{"b2b":{"type":"boolean","description":"true = business customer"},"type":{"type":"string","description":"'service' or 'goods'"},"customer":{"type":"string","description":"customer country, ISO-2, e.g. DE or US"},"supplier":{"type":"string","description":"supplier EU country, ISO-2, e.g. AT"},"customer_vat_valid":{"type":"boolean","description":"result of a VIES check, optional"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_441x1vUk-Yh3jAMPEHxTZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Determines EU VAT treatment for a transaction (place of supply, reverse charge, OSS, export, domestic), returning the applicable VAT rate, EN 16931 category code, exemption reason, and ready-to-use invoice wording in English and German.","exampleAgentPrompt":"What VAT treatment applies when my Austrian company (supplier) invoices a German business (B2B, customer VAT validated in VIES) for services — give me the rate, the EN 16931 BT-151 category code, the BT-121 exemption reason, and the correct invoice wording I can paste into my XRechnung?","exampleUseCases":[{"title":"Reverse charge check for B2B services","prompt":"My Spanish company is invoicing a French VAT-registered business for consulting services — does reverse charge apply, and what EN 16931 VAT category code and invoice text should I put on the ZUGFeRD invoice?"},{"title":"OSS eligibility for B2C digital goods","prompt":"We're a German online retailer selling digital goods to Italian consumers (B2C). Does the OSS scheme apply, what VAT rate should we charge, and what's the correct BT-151 code for the Peppol BIS invoice?"},{"title":"Export VAT treatment outside EU","prompt":"Our Dutch company is exporting physical goods to a US customer — is VAT zero-rated, what's the EN 16931 exemption reason code BT-121, and what legal article reference and invoice wording should we use in English?"}],"resultDescription":"Returns the applicable VAT rate for the transaction, the EN 16931 / UNCL5305 VAT category code (BT-151), the exemption reason code (BT-121) where applicable, a ready-to-use invoice statement in both English and German, the relevant legal article reference, and the determined VAT treatment type (e.g. reverse charge, intra-Community supply, OSS, export zero-rate, or domestic).","failureModes":["Missing required supplier or customer parameter returns a validation error","Invalid or unsupported ISO-2 country code returns an error indicating unrecognised country","Non-EU supplier country may return an unsupported or out-of-scope error","Ambiguous transaction type (neither 'goods' nor 'services') may cause incorrect rule application","Network or upstream service errors may return HTTP 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need to programmatically determine the correct EU VAT treatment, EN 16931-compliant codes, and ready-to-use invoice wording for XRechnung, ZUGFeRD, Peppol BIS, or OSS workflows — especially for cross-border B2B and B2C transactions involving EU suppliers. Prefer it over manual lookup when automating invoice generation pipelines or when you need both the machine-readable VAT category codes and the legally compliant human-readable wording in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:39:12.748Z","isFirstParty":false,"canonicalSlug":"eu-vat-rules-engine-10dc426d"}