Fiscal Identity Extension¶
br.dev.bcp.shopping.fiscal_identity extends checkout and order.
Overview¶
This extension carries the fiscal identity of both parties in a Brazilian transaction:
- Buyer: CPF or CNPJ in
buyer.tax_id, used when an identified NF-e must be issued. - Seller: CNPJ, legal name, and address in
seller_identity, required for consumer-facing offers, pre-closing summaries, and receipts under Brazilian consumer law.
The seller identity lives inside the transaction payload, not only in the discovery profile, because signed checkouts and orders are the durable purchase records. Profiles are mutable and may not be shown to the consumer. Freezing the seller identity in the transaction binds the offer to that CNPJ at that moment.
Discovery¶
Businesses declare the capability in the profile (/.well-known/ucp). The
declaration config MAY carry static seller identity data used as an onboarding
validation baseline:
{
"capabilities": {
"br.dev.bcp.shopping.fiscal_identity": [
{
"version": "2026-07-14",
"extends": ["br.dev.bcp.shopping.checkout", "br.dev.bcp.shopping.order"],
"spec": "https://bcp.dev.br/2026-07-14/specification/fiscal-identity",
"schema": "https://bcp.dev.br/2026-07-14/schemas/shopping/fiscal_identity.json"
}
]
}
}
Schema Composition¶
checkout.buyeris extended withtax_id.checkout.seller_identityandorder.seller_identityare top-level objects required in every response while the capability is active.- Schema:
schemas/shopping/fiscal_identity.json.
Fields¶
tax_id on buyer¶
| Field | Type | Required | Description |
|---|---|---|---|
kind |
open string | Yes | cpf for individuals or cnpj for companies. |
value |
string | Yes | Digits only: 11 for CPF or 14 for CNPJ. |
seller_identity on checkout and order¶
| Field | Type | Required | Description |
|---|---|---|---|
cnpj |
string | Yes | Seller CNPJ, 14 digits, identifying the invoice issuer. |
legal_name |
string | Yes | Seller legal name. |
address |
postal_address |
No | Physical address for consumer disclosure. |
Normative Rules¶
seller_identityMUST be present in every checkout and order response while this capability is active.- Buyer agents MUST present the seller CNPJ and legal name to the consumer before completion and on the receipt.
buyer.tax_idMUST be collected bycompletewhen the sale requires an identified NF-e. See NF-e.
Example¶
Checkout response excerpt: