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.

The RUT box printed on Chilean tax documents, as a solid block with its electronic stamp: electronic boleta, electronic factura and credit note. cl.comercioia BOLETA ELECTRÓNICA FACTURA ELECTRÓNICA NOTA DE CRÉDITO Electronic stamp · version 2026-10-30
The RUT box, printed on every Chilean tax document.
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.

AI assistant
I'm looking for a 61-key keyboard that arrives this week.
I found this one at Tienda Ejemplo:
61-key keyboard
Delivery in Santiago · 3 business days
$189.990
Do you want a boleta (consumer receipt) or a factura (business invoice)?
A boleta, please.
create_checkout · agent → storeUCP
{  "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.

AI assistant
61-key keyboard$189.990
Delivery (Santiago)$4.990
Total$194.980
VAT included · electronic boleta
SellerTienda Ejemplo SpA · RUT 76.123.456-0 · Av. Ejemplo 123, Santiago
Right of withdrawalYou can withdraw within 10 days of receiving the product.
Legal warrantyLegal warranty of six months from receipt, for failures or non-conformities covered by law: free repair, replacement or refund, as applicable.
You are buying through an AI assistant.
checkout · store → agentUCP
{  "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.

AI assistant
OK, I'll buy it.
To pay, open the payment page. You'll pay there with Webpay Plus.
Total to pay: $194.980
Webpay Plus · tienda-ejemplo.cl
Open the payment page ↗
Payment happens on the provider's page, not in this chat.
complete_checkout · store → agentUCP
{  "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.

AI assistant
Tienda Ejemplo confirmed your payment and issued your boleta:
A copy of the contract was sent to your email.
order · store → agentUCP
{  "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.

AI assistant
I changed my mind about the keyboard. Can I return it?
Yes: you're within the 10-day right of withdrawal. Tienda Ejemplo explains how to return it at tienda-ejemplo.cl/retracto.
Refund completed
Credit noteNo. 88213
Cancels boletaNo. 4512330
Refunded$194.980
order · store → agentUCP
{  "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

Sequence diagram of one purchase Buyer AI agent Store Payment provider SII 01 “I'll take it” 02 create_checkout · asks for a boleta 03 totals, legal notices, payment methods 04 complete_checkout · Webpay Plus 05 creates the payment on the store's account 06 requires_escalation + continue_url 07 pays on the provider's page 08 payment confirmation 09 boleta 39, within 1 hour 10 boleta + contract copy 11 order with tax_documents[]
Show the steps as text
  1. Buyer → AI agent: “I'll take it”
  2. AI agent → Store: create_checkout · asks for a boleta
  3. Store → AI agent: totals, legal notices, payment methods
  4. AI agent → Store: complete_checkout · Webpay Plus
  5. Store → Payment provider: creates the payment on the store's account
  6. Store → AI agent: requires_escalation + continue_url
  7. Buyer → Payment provider: pays on the provider's page
  8. Payment provider → Store: payment confirmation
  9. Store → SII: boleta 39, within 1 hour
  10. Store → Buyer: boleta + contract copy
  11. 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.

NameWhat it doesLegal basis
cl.comercioia.shopping.tax_documentBoleta 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_termsConsumer 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_noteCredit notesEvery refund or withdrawal carries its DTE 61, referencing the original document.DL 825 arts. 21 and 70
cl.comercioia.policy.retractoRight 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_legalLegal 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 · khipuChilean 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-25 or 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.

  1. DoneSpecification and schemas published9 October 2026, at comercioia.cl.
  2. DonePublic repository and comment periodComments open until 30 November 2026.
  3. In designReference implementationSynaptik Checkout IA: the three extensions and Webpay Plus, with automatic boleta.
  4. PendingFirst real salesAt least one boleta, one factura and one withdrawal with a credit note.
  5. 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.