Open proposal · version 2026-10-30
Comercio IA specification
A Chilean extension to the Universal Commerce Protocol (UCP) and the Agentic Commerce Protocol (ACP). It defines how an AI agent and a store exchange the information Chilean law requires to close a distance sale, and how to pay with Chilean payment methods.
- Version
2026-10-30(open proposal: ready to implement and comment on). The previous versions,2026-10-16,2026-10-15and2026-10-09, stay published.- Namespace
cl.comercioia.*- Schemas served from
https://comercioia.cl/ucp/…- Requires
- UCP
2026-08-25or later. ACP2026-04-17mapping in the ACP section. - License
- Apache-2.0
What's new in 2026-10-30. Only tax_document changes, and only by adding: a 2026-10-16 implementation remains valid. Under SII Res. Ex. 176/2020, which applies art. 54 of the Ley del IVA, the receipt of an electronic payment counts as a boleta, so this version lets a business declare its emission model (issuance_model) and an order state that its document is the payment receipt (payment_receipt). credit_note, consumer_terms and the payment handlers stay at 2026-10-15; the refund prose in Credit notes and the compliance guide is explanatory. History in the CHANGELOG.
What's new in 2026-10-16. Only tax_document changes, with optional fields: a 2026-10-15 implementation remains valid. It adds the references business buyers require on their factura (references[], issue #1) and the identification of the person who pays and the payment method on boletas above 135 UF (receiver on a boleta and payment_method). consumer_terms, credit_note and the payment handlers stay at 2026-10-15. History in the CHANGELOG.
This specification describes tax and consumer-protection rules, but it is not legal advice. Each store is responsible for deciding which notices apply to it.
1. Conventions
- MUST, MUST NOT, SHOULD and MAY are used as in RFC 2119.
- Amounts are integer Chilean pesos. The peso has no minor unit, so the minor unit is the peso, as in the standards.
- RUT (Chilean taxpayer ID) without dots, with a hyphen and the modulo 11 check digit, e.g.
76123456-0. Anyone receiving a RUT MUST validate the check digit. - Dates in RFC 3339 with a time zone, e.g.
2026-10-19T14:22:05-03:00. - Open objects. As UCP asks, the schemas don't close objects or use closed lists: codes are documented as examples, and an unknown value MUST be handled as each field says.
- Domain authority. Every
cl.comercioia.*schema is served fromcomercioia.cl, with no redirects and no CDN under another name. A schema fetched from another domain is ignored by agents.
2. Declaring it in the store profile
The store declares the extensions under capabilities and the payment methods under payment_handlers in its /.well-known/ucp profile. Agents negotiate by name and version: an extension the agent doesn't announce stays inactive, and checkout continues on the core fields.
{
"ucp": {
"version": "2026-08-25",
"services": { "dev.ucp.shopping": [ … ] },
"capabilities": {
"dev.ucp.shopping.checkout": [{ "version": "2026-08-25" }],
"dev.ucp.shopping.order": [{ "version": "2026-08-25" }],
"cl.comercioia.shopping.tax_document": [{
"version": "2026-10-30",
"extends": ["dev.ucp.shopping.checkout", "dev.ucp.shopping.order"],
"spec": "https://comercioia.cl/en/spec/#tax-document",
"schema": "https://comercioia.cl/ucp/schemas/tax_document/2026-10-30.json",
"config": { "issuance_model": "payment_receipt" } }],
"cl.comercioia.shopping.consumer_terms": [{
"version": "2026-10-15",
"extends": ["dev.ucp.shopping.checkout", "dev.ucp.shopping.order"],
"spec": "https://comercioia.cl/en/spec/#consumer-terms",
"schema": "https://comercioia.cl/ucp/schemas/consumer_terms/2026-10-15.json" }],
"cl.comercioia.shopping.credit_note": [{
"version": "2026-10-15",
"extends": "dev.ucp.shopping.order",
"spec": "https://comercioia.cl/en/spec/#credit-note",
"schema": "https://comercioia.cl/ucp/schemas/credit_note/2026-10-15.json" }]
},
"payment_handlers": {
"cl.comercioia.webpay_plus": [{
"id": "webpay_1", "version": "2026-10-15",
"spec": "https://comercioia.cl/en/spec/#webpay-plus",
"schema": "https://comercioia.cl/ucp/handlers/webpay_plus/2026-10-15.json",
"available_instruments": [{ "type": "redirect" }],
"config": { "environment": "production" } }]
}
}
}
3. Tax document cl.comercioia.shopping.tax_document
Extends dev.ucp.shopping.checkout and dev.ucp.shopping.order. At checkout the buyer chooses a boleta or a factura. On the order, the store returns the documents it issued.
On checkout: tax_document
| Field | Rule | Source |
|---|---|---|
document_choice | boleta (default) or factura. Boletas 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 (boleta 39, or 41 exempt; factura 33 or 34). From 2026-10-30, boleta means "not a factura": the consumer document, which at a payment_receipt business is the payment receipt when the sale is paid electronically. When absent, the business issues the document it declares. An unknown value MUST be treated as a boleta, with a notice in messages[]. | DL 825 arts. 52–53 |
receiver | Who receives the document: the company on a factura, or the person who pays on a boleta. Required for a factura, with rut, razon_social (≤100), giro (line of business, ≤40), direccion (≤70) and comuna (≤20); optional ciudad and email. Required for a boleta above 135 UF, with at least rut and razon_social (for a person, their full name); optional on other boletas. The rut is the real RUT, never the generic 66666666-6. | SII DTE format; DS 55 art. 69; SII Res. Ex. 44/2025 |
references | New in 2026-10-16. Up to 40 references the buyer requires on its document, usually a factura: type, number, date and reason. The store prints them or rejects the checkout with a message; it MUST NOT drop them silently. See Sales to companies. | DTE format, reference section |
payment_method | New in 2026-10-16. Payment method printed on the boleta (SII MedioPago): 1 cash, 2 electronic payment, 3 electronic transfer, 4 cheque, 5 other. The store derives it from the payment handler used and SHOULD echo it in its responses when the total exceeds 135 UF. The agent sends it only when the buyer pays outside the negotiated payment handlers, for example cash on delivery. An unknown value is treated as 5. | SII Electronic Boleta Format v4.2; SII Res. Ex. 44/2025 |
On the order: tax_documents[]
| Field | Rule | Source |
|---|---|---|
type, folio | DTE type and the folio number authorized by the SII. | DTE format |
issuer_rut, receiver_rut | The generic RUT 66.666.666-6 is used in the cases the SII format allows, for non-periodic, non-residential sales or services when the RUT is unknown and no applicable internal identifier exists. It is not a universal rule for every boleta. In sales covered by SII Res. Ex. 44/2025 whose value exceeds 135 UF, the boleta carries the RUT of the person who pays. | DTE format; SII Res. Ex. 44/2025 |
issued_at, issue_trigger | In sales of goods, issuance is tied to their actual or symbolic delivery, under art. 55 of DL 825. For services, the boleta is issued when the remuneration is received or made available; the factura follows the rules of its tax period. payment_confirmed can be an operational option, but it does not replace those rules. If the factura for goods is lawfully postponed, the corresponding dispatch guide must be issued. The store must configure the applicable event. | DL 825 arts. 55 and 57 |
total, net, iva, exempt | Integer pesos. The total includes VAT. | DL 825 |
payment_method | New in 2026-10-16. Payment method printed on the boleta, with the same codes as on checkout. Present on every boleta above 135 UF. | SII Electronic Boleta Format v4.2 |
references | New in 2026-10-16. The references as printed on the issued document, in line order (NroLinRef). | DTE format, reference section |
payment_receipt (on the order, outside tax_documents[]) | New in 2026-10-30. Present when the document of the sale is the electronic payment receipt, which is not a DTE and has no folio: operator, authorization_code, legend and amount_clp. See The payment receipt as the document. | DL 825 art. 54; SII Res. Ex. 176/2020 |
sii_track_id, sii_status | Each boleta reaches the SII within one hour of issue. | SII Res. Ex. 74/2020 |
representation_url | An https link to a representation the buyer can keep, delivered immediately by email, chat, link or QR. | SII Res. Ex. 74/2020 |
The payment receipt as the document
SII Res. Ex. 176/2020 (resolutive 1°), applying art. 54 of the Ley del IVA (DL 825), gives the receipt of an electronic payment "el valor de boleta de ventas y servicios para todos los efectos legales". The resolution's terminal definition includes "ventas por internet". Each taxpayer declares one of two emission models to the SII (see the SII page on the electronic payment voucher), and the business states its own in issuance_model, inside the config of its tax_document entry in the profile (new in 2026-10-30; open vocabulary, the codes are examples). $defs/tax_document_config in the schema documents the shape of that config; the capability entry does not enforce its $ref:
payment_receipt: the receipt replaces the boleta for electronic payments. The order carriespayment_receiptand notax_documents[]entry for that sale.always_boleta: the boleta is the document for every sale, even when the business receives an electronic payment.
- The declaration is made by the business and is not verified against the SII. A receiver MUST NOT assume a boleta when the business has not declared one. This is about which document the business issues; it does not change how an unknown
document_choicevalue is handled. - Cash sales and bank transfers between accounts need a boleta even at a
payment_receiptbusiness. - Issuing both documents for one sale duplicates the Registro de Ventas.
- The receipt is not a DTE and has no folio. In the Registro de Ventas it is a line with SII code 48, which is not a DTE type.
- Whether a sale above 135 UF (SII Res. Ex. 44/2025) at a
payment_receiptbusiness must carry a boleta is left open by this version. The standard does not answer it. - A payment receipt is expressed on the order as
payment_receipt:operator(for examplemercadopago),authorization_code,legend("Válido como Boleta") andamount_clp, in integer pesos (the total of the receipt). An implementation that cannot capture these data does not fill the field.
Boletas above 135 UF
For sales covered by SII Resolution No. 44 of 2025 whose value exceeds the 135 UF threshold, the boleta must identify the payer by name and RUT, record the payment method and describe the goods (Tax Code art. 92 ter). The payer may be different from the buyer. The threshold in pesos is set each year using the UF value of 31 December of the previous year, not the UF of the purchase date; for 2025 it was CLP 5,186,253. More context in the compliance guide.
- When the total exceeds 135 UF, the agent MUST collect the RUT and name of the person who pays before payment and send them in
tax_document.receiver. - If they are missing, the store MUST NOT issue with the generic RUT or complete the checkout. It responds with an
errormessage withcode: "cl.comercioia.tax_document.receiver_required"andpath: "$.tax_document.receiver". The severity isrecoverableif the agent negotiated this extension and can send the data, orrequires_buyer_input, with acontinue_urlwhere the buyer enters it, if it did not. - The store prints the payment method according to the instrument actually used, for example
2for a card (Webpay Plus, Oneclick Mall, Getnet) and3for a transfer (Khipu). With Mercado Pago it depends on the instrument the provider reports. - The name of each product in
line_items[]goes onto the boleta (NmbItem), so it MUST describe the goods clearly.
Sales to companies
A factura (33 or 34) is for VAT-registered buyers: the agent sends document_choice: "factura" and a receiver with the company's RUT, legal name, line of business, address and comuna. Issuing a factura does not by itself decide whether the Consumer Law applies or is excluded. The buyer's status as final recipient must be reviewed and, where relevant, the protection that Ley 20.416 extends to micro and small businesses.
References to a purchase order, service entry sheet (HES, hoja de entrada de servicios) or contract depend on the operation and the applicable regime; large buyers and the State often reject a factura that does not include them. The agent asks for them in tax_document.references[]; each one is a line of the DTE reference section:
| Field | In the DTE | Rule |
|---|---|---|
type | TpoDocRef (≤3) | Document type code, as a string. A numeric one MUST be on the DTE format list: 801 purchase order, 802 order note (nota de pedido), 803 contract, 52 electronic dispatch guide or 33 electronic factura, among others. An alphabetic one, up to 3 letters, is not validated by the SII and covers documents outside that list, such as HES. |
number | FolioRef (≤18) | The document number exactly as the buyer issued it, with no added prefixes or characters. It can be alphanumeric only for non-tax documents (800 codes or alphabetic types); the folio of a tax document, such as a dispatch guide, is numeric. |
date | FchRef | Date of the referenced document (YYYY-MM-DD). Mandatory on a factura; the boleta format has no reference date. |
reason | RazonRef (≤90) | Free text, optional. |
HES is not an SII code. The DTE format accepts any alphabetic code without validating it, and each buyer decides how it wants its HES: some ask for HES as the type, others for the HES number under 801 or 802. The store MUST use the code the buyer asked for, unchanged.
Credit payment terms, for example net 30, use the UCP core extension dev.ucp.common.payment.terms, with no fields of our own.
4. Consumer terms cl.comercioia.shopping.consumer_terms
Extends checkout and order with the information a distance seller must give a consumer before and after the sale. It is used in consumer sales.
| Field | Rule | Source |
|---|---|---|
seller | The seller's razon_social, rut, domicilio and contacto, visible before payment; optional platform_role stating the role of any intermediary platform. | DS 6/2021 |
ai_disclosure | The agent declares it is an AI agent (is_ai_agent, agent_name, purpose, human_contact). The store echoes it in its response. No dark patterns; automated refusals must explain why. | SERNAC Res. Ex. 33/2022 |
price_includes_tax | MUST be true for consumer sales: the total price includes taxes. | Ley 19.496 art. 30 |
delivery | Shipping cost and estimated delivery, shown before payment. | DS 6/2021 |
installments | Only when installments are offered: count, installment_amount, monthly rate, cae (annual equivalent cost), total_cost and cash_price. The cash price MUST be at least as visible as the installment price. | Ley 19.496 arts. 17 G and 37 |
confirmation (order) | Once the contract is concluded, the store must send the consumer a written confirmation containing a full, clear and legible copy of the contract. A link must let the buyer keep that version. The law sets no general number of hours here; the standard requires sending it when the sale closes. Its absence can extend the withdrawal window from ten to ninety days. Fields: channel, sent_at, contract_copy_url. | Ley 19.496 art. 12 A |
5. Right of withdrawal and legal warranty
Both are policy types inside core policies[], which UCP lets anyone define under their own domain. Like every UCP policy they carry type and description, an object with plain, markdown or html. Their schemas live in consumer_terms.
cl.comercioia.policy.retracto
| Field | Default and rule |
|---|---|
window_days | 10 calendar days from receipt of the goods; for services, within ten days of contracting and before the service is provided. |
window_days_without_confirmation | Up to 90, if the art. 12 A written confirmation wasn't sent. |
refund_within_days | 45, with no deductions. |
excluded, exclusion_reason | In distance sales, the right of withdrawal for goods can be excluded only in the legal categories and conditions: goods that can no longer be marketed as offered because of use or installation beyond inspection; goods that may deteriorate or expire within less than ten days of receipt; goods actually customized; and sealed personal-use or hygiene goods whose opening creates a health or hygiene risk. Check the conditions of DS No. 52 for each product. A customization that was not carried out does not justify the exclusion. Prior-information requirements also apply to services; if the right is not validly excluded, withdrawal operates within ten days of contracting and before the service is provided. Example codes: not_returnable, perishable, made_to_order, hygiene_opened, service_excluded_by_seller. |
Source: Ley 19.496 art. 3 bis b), as amended by Ley 21.398. The exclusion must be disclosed in Spanish, before contracting and paying, next to the price and in a size no smaller, using the words “derecho a retracto”. The exclusion does not remove the legal warranty.
cl.comercioia.policy.garantia_legal
| Field | Default and rule |
|---|---|
months | Legal warranty of six months from receipt, for failures or non-conformities covered by law. |
remedies | repair, replace or refund: free repair, replacement or refund, as applicable. |
remote_claim_channel | A distance seller offers a remote claim channel or free pickup. |
Source: Ley 19.496 arts. 20 and 21; SERNAC Res. Ex. 779/2023.
Notices that arrive even when the agent doesn't know the extension
The store MUST also send each withdrawal and warranty notice as a core warning in messages[], with presentation: "disclosure", a code equal to the policy type and a path pointing to it. UCP requires platforms not to hide, collapse or auto-dismiss these notices, and to send the buyer to continue_url if they can't show them. So the legal notices reach the buyer even through an agent that knows nothing about Chile.
6. Credit notes cl.comercioia.shopping.credit_note
Extends dev.ucp.shopping.order. Each core adjustments[] entry (refund, return, withdrawal, cancellation) MAY carry a tax_document with the credit note (61) or debit note (56) issued.
| Field | Rule |
|---|---|
type, folio, issued_at, total | The document issued, in integer pesos. |
ref_type, ref_folio, ref_date | The original document it refers to (for example, boleta 39). |
cod_ref | 1 cancels the document, 2 corrects text, 3 corrects amounts. |
razon | Reason printed on the document (≤90). |
A sale documented by a payment receipt is refunded by annulling the payment through the payment terminal. A credit note identifying the receipt is only the fallback (SII Res. Ex. 176/2020). The credit_note schema does not change in 2026-10-30.
The tax effects of a credit note depend on its cause. For returns or mutual terminations, the six-month period for the adjustments provided in arts. 21 and 70 of DL 825 applies. It is not a general rule for every credit note: error corrections and exempt operations follow different rules. Issuing the document and reducing the VAT debit must be validated separately.
7. Payment methods
The redirect payment methods (Webpay Plus, Mercado Pago, Getnet and Khipu) follow the same pattern, which in UCP is the core escalation pattern. Oneclick Mall (proposed) works differently and is described separately, below:
- The store creates the payment with its own account at the provider.
- The checkout answers
status: "requires_escalation"with acontinue_urland a message withseverity: "requires_buyer_input". - The buyer pays on the provider's page.
- The store confirms the result directly with the provider and creates the order.
The agent never receives card data or credentials. Public configuration (config) MUST NOT include keys or secrets. These payment methods are published by the Comercio IA initiative until each provider publishes its own; every provider is invited to review, co-sign or take theirs over. These are integrations proposed by the initiative: their appearance here does not mean the provider has reviewed or endorsed them, or that they are available on its platform.
Publishing this specification is not, by itself, operating a financial service. In an implementation, the classification depends on the functions actually performed, including payment processing or initiation; it is not settled only by not holding funds. Redirect flows and Oneclick must be described separately, with the authorizations that apply.
Failures and their UCP equivalents
| Situation | code | severity | What the agent does |
|---|---|---|---|
| The issuer declines the payment | payment_failed | recoverable | Offers a retry or another payment method. |
| Insufficient funds | payment_failed | recoverable | Same as a decline; the detail goes in content. |
| The buyer didn't pay in time (the provider session expires) | payment_failed | recoverable | A new attempt creates a new transaction. |
| Provider unavailable or network error | payment_failed | recoverable | Retries later; the store checks the status before creating another payment. |
| The buyer must pay on the provider's page | (checkout status) | requires_buyer_input | Sends the buyer to continue_url. |
Webpay Plus · cl.comercioia.webpay_plus
- Provider
- Transbank
- Create
POST /rswebpaytransaction/api/webpay/v1.2/transactionswith the store's commerce code.buy_order≤26 characters,session_id≤61, amount in integer pesos,return_url≤256.- How the buyer pays
- Webpay requires a form POST of
token_ws, socontinue_urlpoints to a store page that submits it automatically. - Confirmation
- Commit (
PUT …/transactions/{token}) when the buyer returns. Approved only ifresponse_code = 0andstatus = AUTHORIZED. - Expiry
- 5-minute token; the form allows 4 minutes in production (
token_ttl_seconds,payment_window_seconds). - Design for
- There is no webhook: the store MUST sweep abandoned payments by status query (status can be queried for 7 days). There is no idempotency key: the store uses its own.
- Refunds
- Reversal or nullification, full or partial, within Transbank's time limits.
Oneclick Mall · cl.comercioia.oneclick_mall (proposed)
- Provider
- Transbank
- Create
- A one-time card enrollment on Transbank's page. After that, server-to-server charges with the enrollment's
tbk_userand the store's commerce code inside the Mall. - How the buyer pays
- Only once, at enrollment. With no active enrollment, the response sets
enrollment_requiredand sends the buyer tocontinue_url. - Confirmation
- Synchronous authorization response.
- Design for
- The closest thing to in-chat payment available in Chile today. Daily per-user limits are set at affiliation. Before use, confirm with Transbank whether a charge initiated through an AI agent fits its terms.
Mercado Pago · cl.comercioia.mercadopago
- Provider
- Mercado Pago
- Create
- Orders or Preferences API with the store's credentials.
external_reference≤64,notification_url≤248, integer unit prices in Chile,X-Idempotency-Keyheader. - How the buyer pays
- At the checkout URL Mercado Pago returns.
- Confirmation
- Signed webhook (
x-signature) plus reconciliation. - Refunds
- Full or partial, within Mercado Pago's time limits.
Getnet · cl.comercioia.getnet
- Provider
- Getnet (Web Checkout on the PlacetoPay platform)
- Create
POST /api/sessionwith the store's credentials;reference≤32. Sessions last 30 minutes by default (session_ttl_seconds).- How the buyer pays
- At the returned
processUrl. - Confirmation
- The notification is sent only once, so the store MUST also query
/api/session/{requestId}. - Design for
- Which features Getnet Chile enables is to be confirmed with Getnet.
Khipu · cl.comercioia.khipu
- Provider
- Khipu (bank transfer)
- Create
POST https://payment-api.khipu.com/v3/paymentswith the store's API key.- How the buyer pays
- From their bank account, at the returned
payment_url. - Confirmation
- Signed webhook (
x-khipu-signature), retried by Khipu, plus status query (pending,verifying,done). - Design for
- No idempotency key is documented. Payment initiation is subject to Ley 21.521 and CMF regulation, on the phased calendar that applies to each participant and service. An implementer of this specification only creates the charge as the payee and hands the buyer off to Khipu, never capturing the buyer's bank credentials.
8. Examples
The examples show only the relevant fields. Example RUTs pass the modulo 11 check. Buyer-facing text is in Spanish, as a Chilean store would send it.
Response to complete_checkout: pay with Webpay Plus
{
"id": "chk_7f3a",
"status": "requires_escalation",
"continue_url": "https://tienda-ejemplo.cl/pagar/chk_7f3a",
"currency": "CLP",
"totals": [
{ "type": "subtotal", "display_text": "Productos (IVA incluido)", "amount": 189990 },
{ "type": "fulfillment", "display_text": "Despacho RM, 3 días hábiles", "amount": 4990 },
{ "type": "total", "amount": 194980 }
],
"policies": [
{ "type": "cl.comercioia.policy.retracto",
"description": { "plain": "Derecho a retracto: 10 días desde que recibes el producto." },
"url": "https://tienda-ejemplo.cl/retracto",
"window_days": 10, "window_days_without_confirmation": 90, "refund_within_days": 45 },
{ "type": "cl.comercioia.policy.garantia_legal",
"description": { "plain": "Garantía legal de seis meses desde la recepción, ante fallas o incumplimientos comprendidos en la ley: reparación gratuita, cambio o devolución, según corresponda." },
"months": 6, "remedies": ["repair", "replace", "refund"] }
],
"messages": [
{ "type": "warning", "code": "cl.comercioia.policy.retracto",
"path": "$.policies[0]", "presentation": "disclosure",
"content": "Tienes derecho a retracto por 10 días desde que recibes el producto." },
{ "type": "error", "code": "payment_redirect", "severity": "requires_buyer_input",
"content": "Completa el pago en Webpay." }
],
"tax_document": { "document_choice": "boleta" },
"consumer_terms": {
"seller": { "razon_social": "Tienda Ejemplo SpA", "rut": "76123456-0",
"domicilio": "Av. Ejemplo 123, Santiago", "contacto": "ayuda@tienda-ejemplo.cl" },
"ai_disclosure": { "is_ai_agent": true, "purpose": "purchase_assistance" },
"price_includes_tax": true,
"delivery": { "cost": 4990, "estimated_delivery": "3 días hábiles" }
}
}
A company checkout with a purchase order and an HES
"tax_document": {
"document_choice": "factura",
"receiver": { "rut": "12345678-5", "razon_social": "Comercial Ejemplo Limitada",
"giro": "Venta al por menor", "direccion": "Calle Ejemplo 100",
"comuna": "Providencia", "email": "facturas@comercial-ejemplo.cl" },
"references": [
{ "type": "801", "number": "4500195544", "date": "2026-10-15" },
{ "type": "HES", "number": "1001266280", "date": "2026-10-20",
"reason": "Recepción conforme del servicio" }
]
}
A boleta above 135 UF
If the agent did not send the buyer's details, the store responds:
"messages": [
{ "type": "error", "code": "cl.comercioia.tax_document.receiver_required",
"path": "$.tax_document.receiver", "severity": "recoverable",
"content": "Para esta compra, la boleta debe identificar a quien paga: su RUT y su nombre." }
]
The agent asks the buyer and updates the checkout:
"tax_document": {
"document_choice": "boleta",
"receiver": { "rut": "15987654-3", "razon_social": "María Fernanda Soto Rojas",
"email": "maria.soto@correo-ejemplo.cl" }
}
And the boleta issued on the order:
"tax_documents": [{
"type": 39, "folio": 4519877, "issuer_rut": "76123456-0", "receiver_rut": "15987654-3",
"issued_at": "2026-10-21T11:40:12-03:00", "total": 6489990, "net": 5453773, "iva": 1036217,
"payment_method": 2, "issue_trigger": "payment_confirmed", "sii_status": "accepted",
"representation_url": "https://tienda-ejemplo.cl/dte/39/4519877" }]
The order after payment and after a withdrawal
{
"id": "ord_5521",
"checkout_id": "chk_7f3a",
"currency": "CLP",
"totals": [{ "type": "total", "amount": 194980 }],
"tax_documents": [{
"type": 39, "folio": 4512330, "issuer_rut": "76123456-0", "receiver_rut": "66666666-6",
"issued_at": "2026-10-19T14:22:05-03:00", "total": 194980, "net": 163849, "iva": 31131,
"issue_trigger": "payment_confirmed", "sii_status": "accepted",
"representation_url": "https://tienda-ejemplo.cl/dte/39/4512330" }],
"consumer_terms": {
"confirmation": { "channel": "email", "sent_at": "2026-10-19T14:22:40-03:00",
"contract_copy_url": "https://tienda-ejemplo.cl/contrato/ord_5521" } },
"adjustments": [{
"id": "adj_1", "type": "refund", "status": "completed",
"occurred_at": "2026-10-25T10:00:00-03:00",
"description": "Retracto dentro de 10 días",
"tax_document": { "type": 61, "folio": 88213, "issued_at": "2026-10-25T10:05:00-03:00",
"total": 194980, "ref_type": 39, "ref_folio": 4512330,
"ref_date": "2026-10-19", "cod_ref": 1,
"razon": "Anula boleta por retracto" } }]
}
9. ACP mapping
ACP's base objects are closed (additionalProperties: false), so this extension's fields only validate against a schema that combines ACP's with ours. The ACP version will be switched on when OpenAI's program includes Chile; today its product feeds cover the United States, Canada and Mexico.
| Piece | Already in ACP | What Comercio IA adds |
|---|---|---|
| Boleta or factura | Order.confirmation (invoice_number, receipt_url) | DTE type, folio, issuer RUT, SII status |
| Factura buyer | buyer.company.tax_id, name | Line of business, address, comuna; boleta-or-factura choice; references (purchase order, HES, contract) |
| Right of withdrawal | return_policy link; feed field return_deadline_in_days | Structured withdrawal fields |
| Legal warranty | Per-item disclosures[] | Structured warranty fields |
| Credit note | Order.adjustments[] | DTE 61 reference |
| Payment | capabilities.payment.handlers[] with psp | The five Chilean payment methods; redirect payments are not yet specified in ACP (proposal #142) |
10. Schemas
JSON Schema draft 2020-12, self-describing ($id, name, version), with one $defs entry per capability they extend, composed with allOf, and a requires block with the minimum core version.
| Name | Schema |
|---|---|
cl.comercioia.shopping.tax_document | /ucp/schemas/tax_document/2026-10-30.json Previous: 2026-10-16, 2026-10-15 |
cl.comercioia.shopping.consumer_terms | /ucp/schemas/consumer_terms/2026-10-15.json |
cl.comercioia.shopping.credit_note | /ucp/schemas/credit_note/2026-10-15.json |
cl.comercioia.webpay_plus | /ucp/handlers/webpay_plus/2026-10-15.json |
cl.comercioia.oneclick_mall | /ucp/handlers/oneclick_mall/2026-10-15.json |
cl.comercioia.mercadopago | /ucp/handlers/mercadopago/2026-10-15.json |
cl.comercioia.getnet | /ucp/handlers/getnet/2026-10-15.json |
cl.comercioia.khipu | /ucp/handlers/khipu/2026-10-15.json |
11. Versioning and governance
- Every version is dated (
YYYY-MM-DD) and stays published at its own address. A published version is never modified: changes ship in a new version. Version2026-10-15corrects statements in2026-10-09after a legal review; the earlier version stays published at its own addresses. - Third-party extensions version independently of the core, as UCP and ACP allow. Each version states which core versions it requires.
- Compatibility is kept with the current UCP release and the previous one.
- Comments are open until 30 November 2026 in the public repository. The first stable release is planned for January 2027, once the path to 1.0 is complete.
- If a provider publishes an official payment handler, this specification adopts it and marks its own as deprecated.
- Once adoption is broad, pieces useful to other countries will be proposed to the UCP or ACP core through their formal processes.
- Other open standards cover different parts of an AI purchase and are used alongside this one: the Personal Agent Protocol (PAP), from Meta and Sierra, defines how a personal agent, such as Meta's Muse, 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. This extension doesn't change them. Comments on how to combine them are welcome.
12. Aspects that depend on each implementation
Before operating, each implementation must define who sells and who operates the platform under DS 6/2021; what authorization lets the agent act for the buyer; what data each participant shares and under what role and basis; and whether it carries out regulated payment activities. The purchase authorization must define the operation and does not replace the data authorization when one is needed. These obligations are not automatically attributed to the publisher of the specification.
13. Sources
- UCP specification and schemas, release 2026-08-25: ucp.dev
- ACP, release 2026-04-17: ACP repository
- Personal Agent Protocol (PAP), draft 0.4: personalagentprotocol.org
- Agent Payments Protocol (AP2): ap2-protocol.org
- Transbank Developers, Webpay Plus and Oneclick: transbankdevelopers.cl
- Mercado Pago Developers Chile: mercadopago.cl/developers
- Getnet Web Checkout (PlacetoPay): docs.placetopay.dev
- Khipu API v3: docs.khipu.com
- SII, Res. Ex. 74/2020: sii.cl
- SII, Electronic Tax Document Format v2.5 (2026-02), section E "Información de referencia" (
TpoDocRef,FolioRef,FchRef,RazonRef): sii.cl - SII, Electronic Boleta Format v4.2 (2025-09-08), fields
MedioPago,RUTRecep,RznSocRecepandNmbItem: sii.cl - SII, electronic payment voucher and the two emission models: sii.cl
- SII, Res. Ex. 176/2020, applying DL 825 art. 54, electronic payment receipt with the value of a boleta: sii.cl
- SII, Res. Ex. 44/2025 (Tax Code art. 92 ter), boletas above 135 UF: sii.cl
- DL 825 (arts. 21, 53, 54, 55, 57 and 70), Ley 19.496 (arts. 3 bis, 12 A, 20 and 21), Ley 20.416 (art. 9), Ley 21.398, DS 6/2021 and Ley 21.719: BCN Ley Chile
- SII FAQ 001.003.7335: sii.cl/preguntas_frecuentes/factura_electronica/001_003_7335.htm
- Ley 21.521 and CMF NCG 514 and its amendments, including NCG 569/2026: cmfchile.cl/normativa/ncg_569_2026.pdf
- SERNAC, Res. Ex. 33/2022 and 779/2023: sernac.cl