# Avanciq

> Checked business facts for AI agents: official VAT/GST rates on a date, tax and e-invoice code validity (Brazil, Mexico, Poland), EN 16931 e-invoice validation and exact business arithmetic. Every answer carries its official source, the date it was read and a receipt id. Not tax or legal advice.

Tested 20 November 2026 on 60 tasks. Right answers: Claude Sonnet 55 alone vs 60 with the connector; Claude Haiku 48 vs 58 (of 60). On tax-code checks: 56-78% fewer tokens, 70-76% faster (median).

Use the MCP server at https://api.avanciq.com/connect/mcp (streamable HTTP). It works with no key and no sign-up: 100 free calls a day per conversation (10 a day for website accessibility checks). A free key (100 calls a month, separate allowance) goes in the header Authorization: Bearer avq_... ; for more calls or a paid plan email hello@avanciq.com or the REST tools at https://api.avanciq.com/connect/v1/tools/<tool>. Free key: 100 calls a month. Answers outside our verified data say "not_covered" - look those up at the authority, never guess.

## Docs
- [Connector for AI agents](https://avanciq.com/agents/): tools, connect snippets, plans, test results
- [OpenAPI 3.1](https://avanciq.com/openapi.json): REST description of all tools
- [Full agent docs](https://avanciq.com/llms-full.txt): every tool, input and reply field in one file

## API
- [API keys and plans](https://avanciq.com/api/keys/): free key, plans, extra calls
- [Code Table API](https://avanciq.com/api/codetable/): dated official code tables (BR/MX/PL)
- [Calculation checks](https://avanciq.com/verify/): part of the agent connector; re-does sums with signed receipts

## Optional
- [Privacy](https://avanciq.com/privacy/)
- [Terms](https://avanciq.com/terms/)

## Tools (full)

### coverage - What Avanciq covers (free)
Free (0 calls). Lists what the other tools can answer: VAT/GST jurisdictions, official code tables per country with dates, e-invoice rulesets, and the calculation kinds with their exact input fields. Call it once when unsure whether something is covered or which input fields verify_calculation needs.

Inputs:

### vat_rate - VAT / GST rate on a date
1 call. Official VAT/GST/sales-tax rate for a country (EU 27, UK, CH, NO, IN, JP, SG, NZ, AE, Canada provinces, 22 US states) on a given date, with valid-from/to, official source link, the date we read it and a receipt id. Use it instead of recalling rates from memory, especially around rate changes. Returns standard rate + reduced rates; it does not map products to reduced rates. Uncovered places answer status not_covered (never a guess).

Inputs:
- `country` (required): ISO 3166 two-letter code, e.g. DE, FR, GB, IN, SG, CA, US. 'CA-QC' / 'US-TX' style also works.
- `region`: Optional: Canadian province (ON, QC, BC, NS...) or US state (CA, TX, NY...). US answers are the state-level rate only, no local add-ons.
- `date`: Optional: the date that matters (invoice/supply date) as YYYY-MM-DD. Default today.

### code_check - Was this tax/e-invoice code valid on a date?
1 call per code. Checks whether an official code-list entry was in force on a date, from the authorities' own published files: Brazil NF-e (NCM, CFOP, cClassTrib, CST, CSOSN...), Mexico SAT CFDI 4.0 and 3.3 catalogs (c_UsoCFDI, c_ClaveProdServ, c_RegimenFiscal...), Poland KSeF FA(2)/FA(3) lists (TStawkaPodatku, TKodKraju, TGTU...). Answers status valid / expired / not_yet_valid / never_existed / not_covered with valid_from/valid_to, table version, source file link and receipt id. Use before accepting a code on an invoice or when checking an old one. Send either one check (country, table, code, date) or 'checks' (list, max 100).

Inputs:
- `country`: br, mx or pl.
- `table`: Official table name, e.g. ncm, cfop, cclasstrib, cst_icms (BR); c_UsoCFDI, c_ClaveProdServ, c_RegimenFiscal, c_ClaveUnidad (MX, add @3.3 for the CFDI 3.3 catalog); TStawkaPodatku, TKodKraju, TKodWaluty, TGTU (PL). Call coverage for the full list.
- `code`: The code as written on the invoice; dots and spaces are ignored (8471.30.12 = 84713012).
- `date`: The date that matters (issue date) as YYYY-MM-DD.
- `checks`: Optional batch instead of the single fields: list of {country, table, code, date}.

### einvoice_check - Validate an e-invoice (EN 16931)
2 calls. Runs the official CEN EN 16931 business rules (validation artefacts, unmodified) on a UBL 2.1 Invoice/CreditNote or UN/CEFACT CII (also the XML inside Factur-X/ZUGFeRD). Returns VALID/INVALID, each failed rule id with where it fails and how to fix it. Use it whenever asked if an e-invoice is valid or why it was rejected - reading XML by eye misses arithmetic and code-list rules. XML is checked in memory, not stored.

Inputs:
- `xml` (required): The complete invoice XML document as text.
- `ruleset`: Optional; auto detects UBL vs CII. One of: auto, en16931-ubl, en16931-cii.

### einvoice_rule - Explain an EN 16931 rule (free)
Free (0 calls). Official text and fix hint for one EN 16931 business rule id, e.g. BR-CO-15, so you can explain a rejection.

Inputs:
- `rule_id` (required): Rule id like BR-CO-15, BR-S-08, BR-01.

### verify_calculation - Check business arithmetic to the cent
1 call. Recomputes a business calculation exactly (decimal, stated rounding) and says whether a claimed result is correct: invoice/claim totals with discounts and shipping, GST/VAT invoices, loan interest and amortisation, depreciation, FX with markup and fees, FIFO / moving-average inventory, weekly payroll overtime, trade quotes. Use it before giving the user any total you computed yourself, or to check a number another AI produced. Input fields per kind: call coverage (free).

Inputs:
- `kind` (required): Which calculation. One of: invoice_or_claim_total, gst_vat_invoice, loan_interest, loan_amortisation, depreciation, fx_with_fees, inventory_fifo_avg, payroll_overtime, trade_quote.
- `inputs` (required): The numbers, e.g. loan_interest {principal, annual_rate_percent, days, day_count 365|360}; invoice_or_claim_total {lines[{quantity, unit_price, discount_percent?}], invoice_discount_percent?, shipping?, tax_rate_percent?, tax_on_shipping?, amount_paid?}. Full field list per kind: coverage.
- `claimed_result`: Optional: the number (or object of named numbers) to check, e.g. 49.32 or {"interest": 49.32}.

## Replies
Small JSON. Fields you can quote: the answer (status / standard_rate / verdict / result), valid_from, valid_to, source (official URL), source_read or source_published (date), receipt_id. Errors: {"error": code, "message": text, "next_step": what to do now} - e.g. key_needed, missing_input, bad_date, unknown_table, limit (with retry time), busy (nothing counted).

## Services and tools (not part of the connector)
- WordPress: free plugin "Avanciq Accessibility Scanner" https://wordpress.org/plugins/trading-checkup-accessibility-scanner/ - scans up to 200 published pages for WCAG 2.2 A/AA problems and gives plain WordPress fix steps. A checker, not an overlay.
- Done-for-you accessibility fixes (key pages US$490, whole site US$1,250, site and proof US$2,600) and Shopify theme fixes (core templates US$390, whole theme US$890, theme+apps US$1,690), on a staging/theme copy: https://avanciq.com/services/
- Model Switch Report: Claude Sonnet 4.5 retires 30 November 2026; same fresh tasks on your current model and up to 3 replacements, accuracy and cost side by side, US$299 / 990 / 1,990: https://avanciq.com/switch-report/
- Shopify ThemeFix (coming soon): https://avanciq.com/themefix/

## Contact
<a href="mailto:hello@avanciq.com">hello@avanciq.com</a>

## Blog posts (26 November 2026)
- We checked 1,000 Shopify stores: here is what we found - https://avanciq.com/blog/we-checked-1000-shopify-stores/ - We checked the homepages of 1,000 randomly drawn Shopify stores. 30.7% had at least one basic accessibility barrier. Numbers, method and limits, no store named.
- 56% of Shopify Horizon homepages had an image with no description, and a quick fix - https://avanciq.com/blog/horizon-homepages-missing-image-descriptions/ - 56.0% of Shopify Horizon-family homepages in our study had images with no alt text, against 10.8% on Dawn. What it likely means and how to fix it in minutes.
- Is your store blocking zoom on phones? Check it in 30 seconds - https://avanciq.com/blog/is-your-store-blocking-zoom-on-phones/ - 6.9% of Shopify homepages we checked stop people zooming on phones. How to check yours in 30 seconds and the one-line fix in theme.liquid or WordPress.
- How to check your website's accessibility in under a minute - https://avanciq.com/blog/how-to-check-website-accessibility-in-a-minute/ - Step by step: run a free instant accessibility check on your homepage, read the result, and know what to fix first. No card, no sign-up.
- About 3 in 10 US-market Shopify homepages have a basic barrier: what store owners can do this week - https://avanciq.com/blog/us-shopify-stores-3-in-10/ - 768 US-market Shopify stores checked: 29.2% had a basic accessibility barrier. The three barriers, their numbers, and a one-week plan for store owners.
