Open proposal · version 2026-10-30 · led by Pintor Project
Comercio IA Boletas or facturas according to the operation and the buyer's tax status. For any AI agent.
When an AI assistant sells on behalf of a Chilean store, the sale has to follow Chilean law: an SII tax receipt (boleta or factura), the right of withdrawal, the legal warranty and local payment methods. Comercio IA is the open set of rules to do that, as an add-on to the AI shopping standards from Google, Shopify, OpenAI and Stripe.
Open for comment until 30 November 2026. Comment on GitHub or write to contacto@comercioia.cl.
- Extends
- UCPACP
- Payment methods
- Webpay PlusOneclick Mall (proposed)Mercado PagoGetnetKhipu
Open
Apache-2.0 license, like UCP and ACP. Anyone can implement it without asking.
The store sells
Payment goes to the store's own account. Publishing this specification is not, by itself, operating a financial service.
Compatible
An agent that doesn't know it keeps working, and the legal notices still reach it.
How AI shopping works, and what Chile adds.
AI assistants are starting to shop
ChatGPT, Gemini and Claude no longer just recommend products: they can search a store, build a cart and take the buyer to pay. Muse, Meta's personal agent, already buys with the person's approval in the United States and other countries, though not yet in Chile. For that, the assistant and the store need to speak the same language.
That language exists: UCP and ACP
Google and Shopify published the Universal Commerce Protocol (UCP); OpenAI and Stripe, the Agentic Commerce Protocol (ACP). They are open standards: public rules so any assistant can buy from any store, the way a card works on any payment terminal.
But they don't know Chile
They were designed for the United States: they know nothing about SII tax receipts (boleta and factura), the right of withdrawal, the legal warranty or Webpay. Comercio IA is an extension: an add-on that plugs into those standards and adds what Chilean law requires. It doesn't replace them; it completes them.
Words you'll see
- AI agent
- An assistant such as ChatGPT, Gemini or Claude that does tasks for a person, like finding and buying things.
- Standard or protocol
- Free, public rules that everyone who wants to interoperate follows, like the format of an electronic invoice.
- Extension
- An addition to a standard for a case the standard doesn't cover. Anyone who doesn't know it keeps working.
- Schema
- The technical file that says exactly which data travels and in what format. It's what developers read.
- Other agent standards
- The Personal Agent Protocol (PAP), from Meta and Sierra, defines how an agent signs in to a store and what it may do for the person. The Agent Payments Protocol (AP2), from Google, defines how the person authorizes their agent's payments. Comercio IA works alongside them: it adds the Chilean rules of the sale.
This page is for implementers: e-commerce platforms, ERPs, payment providers and stores' technical teams. If you run a store and just want to sell through AI, your platform or provider should handle it.
From “I'll take it” to a boleta the SII has received.
What the buyer sees in their assistant, next to what travels between the agent and the store. In red, what Comercio IA adds.
Illustrative example with test data.
Step 1 of 5
The agent asks for a boleta when it creates the checkout.
It also declares that it is an AI assistant. The store echoes that back in its response, so the buyer knows they are buying through an agent.
{ "line_items": [ … ], "tax_document": { "document_choice": "boleta" }, "consumer_terms": { "ai_disclosure": { "is_ai_agent": true, "purpose": "purchase_assistance" } }}
What Comercio IA adds
Step 2 of 5
The store answers with the total in pesos and the legal notices.
Who sells, with RUT and address; the right of withdrawal and the legal warranty. The notices also arrive as core UCP messages, so even an agent that doesn't know the extension must show them without hiding them.
{ "currency": "CLP", "totals": [ …, { "type": "total", "amount": 194980 } ], "policies": [ { "type": "cl.comercioia.policy.retracto", "window_days": 10, "refund_within_days": 45 }, { "type": "cl.comercioia.policy.garantia_legal", "months": 6 } ], "messages": [ { "type": "warning", "code": "cl.comercioia.policy.retracto", "presentation": "disclosure", "content": … }, … ], "consumer_terms": { "seller": { "razon_social": "Tienda Ejemplo SpA", "rut": "76123456-0", "domicilio": "Av. Ejemplo 123, Santiago" }, "ai_disclosure": …, "price_includes_tax": true }}
What Comercio IA adds
Step 3 of 5
The buyer pays outside the chat, on the provider's page.
The store creates the payment with its own Webpay Plus account and answers with a link (continue_url). The assistant only opens that link; the money goes straight to the store's account.
{ "id": "chk_7f3a", "status": "requires_escalation", "continue_url": "https://tienda-ejemplo.cl/pagar/chk_7f3a", "messages": [ …, { "type": "error", "code": "payment_redirect", "severity": "requires_buyer_input", "content": "Completa el pago en Webpay." } ]}
store profile · /.well-known/ucp
{ "payment_handlers": { "cl.comercioia.webpay_plus": [ { "id": "webpay_1", "available_instruments": [ { "type": "redirect" } ] } ] }}
What Comercio IA adds
Step 4 of 5
When appropriate for the operation, the store issues the boleta and sends it to the SII.
The store confirms the payment directly with the provider and issues the boleta on the event it configured (here, payment confirmation). The order gives the agent the folio, the issuer's RUT and the SII status; the buyer gets the boleta and a copy of the contract by email.
BOLETA ELECTRÓNICA
N° 4512330
{ "id": "ord_5521", "tax_documents": [ { "type": 39, "folio": 4512330, "issuer_rut": "76123456-0", "issued_at": "2026-10-19T14:22:05-03:00", "total": 194980, "iva": 31131, "sii_status": "accepted", "representation_url": "https://tienda-ejemplo.cl/dte/39/4512330" } ], "consumer_terms": { "confirmation": { "channel": "email", "contract_copy_url": "https://tienda-ejemplo.cl/contrato/ord_5521" } }}
What Comercio IA adds
Step 5 of 5
If the buyer withdraws, the refund carries its credit note.
The store records the refund on the order with an electronic credit note (DTE 61) that references the original boleta.
{ "id": "ord_5521", "adjustments": [ { "id": "adj_1", "type": "refund", "status": "completed", "description": "Retracto dentro de 10 días", "tax_document": { "type": 61, "folio": 88213, "ref_type": 39, "ref_folio": 4512330, "cod_ref": 1, "razon": "Anula boleta por retracto" } } ]}
What Comercio IA adds
The same purchase, as a sequence diagram
Show the steps as text
- Buyer → AI agent: “I'll take it”
- AI agent → Store: create_checkout · asks for a boleta
- Store → AI agent: totals, legal notices, payment methods
- AI agent → Store: complete_checkout · Webpay Plus
- Store → Payment provider: creates the payment on the store's account
- Store → AI agent: requires_escalation + continue_url
- Buyer → Payment provider: pays on the provider's page
- Payment provider → Store: payment confirmation
- Store → SII: boleta 39, within 1 hour
- Store → Buyer: boleta + contract copy
- Store → AI agent: order with tax_documents[]
UCP/ACP core and payment providerWhat Comercio IA adds
Neither standard yet defines how to return the buyer to the agent after paying on an external page (UCP proposal #486), so the agent learns about the payment from the order. For purchases by companies, see Sales to companies.
The standards stop where Chilean law starts.
UCP and ACP cover
- Catalog and search
- Cart and checkout
- Order and adjustments
- Policies and notices
- Pluggable payment methods
Comercio IA adds
- Boleta or factura according to the operation and the buyer
- Right of withdrawal (retracto)
- Legal warranty
- Credit notes
- Webpay, Mercado Pago, Getnet and Khipu
Three extensions, two policies and five payment methods.
| Name | What it does | Legal basis |
|---|---|---|
| cl.comercioia.shopping.tax_document | Boleta or facturaBoletas or facturas according to the operation and the buyer's tax status. The choice at checkout is subject to the legal requirements of the document. A factura can carry references (purchase order, HES), and a boleta above 135 UF carries the buyer's RUT and name. The order returns the folio, issuer RUT and SII status. | DL 825 · SII Res. 74/2020 and 44/2025 |
| cl.comercioia.shopping.consumer_terms | Consumer informationIn consumer sales: seller identity, notice that the purchase is made through AI, delivery, installments with CAE and written confirmation. | Ley 19.496 · DS 6/2021 · SERNAC Res. 33/2022 |
| cl.comercioia.shopping.credit_note | Credit notesEvery refund or withdrawal carries its DTE 61, referencing the original document. | DL 825 arts. 21 and 70 |
| cl.comercioia.policy.retracto | Right of withdrawal10 days from receipt (up to 90 if the written confirmation is missing), refund within 45 days. | Ley 19.496 art. 3 bis |
| cl.comercioia.policy.garantia_legal | Legal warrantySix months from receipt, for failures or non-conformities covered by law: free repair, replacement or refund, as applicable. | Ley 19.496 arts. 20 and 21 |
| cl.comercioia.webpay_plus · oneclick_mall (proposed) · mercadopago · getnet · khipu | Chilean payment methodsIntegrations proposed by the initiative; Oneclick Mall is a proposal with a different flow. In the redirect methods, the store charges with its own account and the buyer pays on the provider's page. | Each provider's documentation |
Everyone implements their part.
/.well-known/ucp
Stores and suppliers
Whether you sell to consumers or to companies, declare the extension and your payment methods in your profile. If your platform or ERP already implements it, just turn it on.
UCP · ACP
Platforms and ERPs
Implement the schemas in your endpoints and offer it to all your stores under your own brand.
document_choice
AI agents
Personal assistants and corporate purchasing agents: announce the extensions you support, ask for a boleta or factura, and show every legal notice without hiding it.
payment_handlers
Payment providers
We publish your payment method until you publish your own. Review it, co-sign it or take it over.
Ready to implement. Stable after the first real sale.
- Version
2026-10-30: payment receipt as a boleta and declared emission model; earlier, B2B references and boletas above 135 UF- Status
- Open proposal: ready to implement and comment on
- Namespace
cl.comercioia.*- Requires
- UCP
2026-08-25or later - License
- Apache-2.0
- Stable release
- January 2027, once the path to 1.0 is complete
- Comments
- Open until 30 November 2026 (version history)
- Contact
- contacto@comercioia.cl
- Comment.Errors, missing fields, cases from your business. Every comment gets an answer before the stable release.
- Co-sign.Platforms, ERPs, payment providers and trade associations can be listed as co-signers of the stable release.
- Implement.Free and without asking. If you implement it, tell us and we'll list you.
Five conditions before we call it stable.
- DoneSpecification and schemas published9 October 2026, at comercioia.cl.
- DonePublic repository and comment periodComments open until 30 November 2026.
- In designReference implementationSynaptik Checkout IA: the three extensions and Webpay Plus, with automatic boleta.
- PendingFirst real salesAt least one boleta, one factura and one withdrawal with a credit note.
- In progressLegal review and outside validationThe aspects that depend on each implementation and one co-signer or outside implementer.
Extensions and payment methods are versioned separately: Oneclick Mall, Getnet and Khipu can stay as proposals once the rest is stable.