#10408 Shopify Copilot Tax Matching Agent: matching engine and data model (stack 2/3)
Shopify Copilot Tax Matching Agent adds a headless matching engine that uses AI to match Shopify tax lines to Business Central tax jurisdictions, creates tax areas, and includes comprehensive unit tests.
- 49files
- 16AL files
- 16objects
Pull request · merged into main (BC30) on 2026-08-28 by onbuyuka · 49 files (+20256 -3), 16 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Registers a Copilot capability and calls GPT-4.1 to match Shopify tax-line titles to Business Central Tax Jurisdictions
- Builds or reuses a Tax Area and seeds Tax Details
- Tracks provenance (Created by Agent, Verified) and handles low-confidence matches deterministically
- Configurable review-mode gate can hold Sales Document creation
- Adds a test app with AITest suites, unit tests and accuracy datasets; the review UI ships in part 3
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30477 “Shpfy TMA Activity Log”, ShopifyNA (CA layer): added
- Codeunit 30473 “Shpfy TMA Events”, ShopifyNA (CA layer): added
- Codeunit 30475 “Shpfy TMA Install”, ShopifyNA (CA layer): added
- Codeunit 30471 “Shpfy TMA Matcher”, ShopifyNA (CA layer): added
- Codeunit 30470 “Shpfy TMA Register”, ShopifyNA (CA layer): added
- Codeunit 30478 “Shpfy TMA Upgrade”, ShopifyNA (CA layer): added
- Codeunit 30472 “Shpfy Tax Area Builder”, ShopifyNA (CA layer): added
- Codeunit 30474 “Shpfy Tax Match Function”, ShopifyNA (CA layer): added
- Enum extension 30470 “Shpfy TMA Cap.”, ShopifyNA (CA layer): added
- Enum 30471 “Shpfy Tax Match Review Mode”, ShopifyNA (CA layer): added
- Permission set 30470 “Shpfy TMA”, ShopifyNA (CA layer): added
- Table extension 30476 “Shpfy TMA Order Header”, ShopifyNA (CA layer): added
- Table extension 30480 “Shpfy TMA Order Tax Line”, ShopifyNA (CA layer): added
- Table extension 30477 “Shpfy TMA Sales Header”, ShopifyNA (CA layer): added
- Table extension 30470 “Shpfy TMA Shop”, ShopifyNA (CA layer): added
- Table extension 30481 “Shpfy TMA Tax Jurisdiction”, ShopifyNA (CA layer): added
Context
- Work items: AB#445769
- Labels: AL: Apps (W1), Build: scripts & configs, Team: Integrations
- Systems: integration
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).