/pagokit:tax-advisorfrom PagoKit — Payment Integration Agent
Explains merchant tax obligations after payment, merchant-of-record trade-offs, e-invoicing mandates (CFDI, NF-e, DTE, SUNAT, DIAN, SRI, SdI, KSeF, ZATCA), EU VAT OSS, US economic nexus, and when a tax engine is needed. Reads obligations from a catalog, never gives legal advice.
Ships in PagoKit — Payment Integration Agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A successful payment is not a compliant sale. This skill covers the gap.
Two entirely different questions get conflated:
A provider can solve the first and leave the second entirely with the merchant. In Mexico and Brazil, the second one is a legal obligation attached to the sale, and it is the one that gets forgotten because the payment works fine without it.
Read mor from the provider entry. When is_mor is true, that provider sells to your
customer. You sell to the provider.
| You gain | You give up |
|---|---|
| Tax registration, collection, remittance and filing in every market it covers | 4-6% more per transaction than a direct processor |
| No VAT thresholds to monitor, no OSS filing, no nexus tracking | Their name on the customer's bank statement, not yours |
| Chargebacks and fraud are their problem | Checkout branding, and often the customer relationship |
| Invoices issued for you | Payout on their schedule — often 14-30 days |
| No entity needed in the markets they cover | Whatever mor.disables_capabilities lists |
The trade is worth it far more often than developers assume, and it is almost always worth it for a solo developer selling digital goods across borders. Registering for VAT in seven EU countries is not a thing one person does alongside building a product.
It is usually not worth it for a domestic business selling in its own market, where it already has an accountant and pays domestic interchange.
Read regions[CODE].tax.einvoice from the catalog. Where a mandate exists, the merchant must
issue a specific fiscal document for each sale, in a specific format, within a specific window.
The part that bites: the data must be collected at checkout. You cannot retro-fit an RFC, a CNPJ or a tax ID after the sale — the customer has gone. If the market mandates e-invoicing and the checkout does not collect the identifier, every sale is already non-compliant.
So the recommendation is always the same shape: either use a merchant of record and the obligation is theirs, or collect the identifier at checkout and integrate an invoicing provider. There is no third option where it works itself out later.
PagoKit does not issue fiscal documents. It emits PAGOKIT_TAX_TODO.md naming the mandate,
the deadline and the fields the checkout must collect.
Two things that are commonly got wrong:
regions.US.tax.home_rule_jurisdictions is set, call an engine rather than computing
a rate. That is what engine_required means in the data.Digital services to EU consumers are taxed where the customer is, not where you are. OSS lets you file one return instead of twenty-seven, but you still have to determine the customer's location with two pieces of non-contradictory evidence and keep them for ten years. A merchant of record absorbs all of it.
tax block. Say what the obligation is by name.mor.is_mor. Most do not.What SKILL.md sets; muted values are Claude Code's defaults
- The user asks about VAT, IVA, sales tax, invoicing, CFDI, NF-e or "do I need to charge tax" - The advisor is deciding between a merchant of record and a direct processor - A generated integration targets a market with an e-invoicing mandate
Three short reads, in order
tax-compliance, e-invoicing, merchant-of-record, vat, sales-tax
8 skills in this plugin
/doctorAudits an existing PagoKit integration in the current project against the generated per-provider checklist, so it covers every provider in the catalog rather than a hardcoded few. Checks .gitignore covers .env, that env vars are present and use test-key prefixes, that the webhook secret looks valid, that the webhook handler verifies signatures, that the minimum events for the integrated provider are routed, and that PAGOKIT_INTEGRATION.md exists. Used by /pagokit:doctor. Read-only — never writes files./integration-builderComposes a complete payment integration by resolving capability fragments against the chosen provider's catalog entry, then emits a structured file plan for integration-specialist to execute. Selects fragments by verification family, notification model and checkout pattern rather than by provider name, so a provider new to the catalog composes correctly without new templates. Refuses to emit a signature verifier when the provider's scheme is not verified, emitting re-fetch and an explicit TODO instead./payment-advisorRecommends the single best payment provider for the user's project after a short interactive wizard, then hands off to the implementer. Runs a deterministic local ranking engine instead of scoring by hand, so the same situation always yields the same answer and every rejection has an exact reason. Computes real fees on a concrete transaction, always states whether PagoKit can actually BUILD the integration or only advise on it, discloses when the data was last verified, and refuses sanctioned markets outright. Bilingual ES/EN/PT, language inferred from the user's first prompt.npx claudepluginhub hainrixz/agente-pagokit --plugin pagokitOther plugins' skills for the same job