Skip to content

Update BR docs to extended simples nacional - #511

Merged
cavalle merged 2 commits into
mainfrom
expand-simples
Jul 29, 2026
Merged

Update BR docs to extended simples nacional#511
cavalle merged 2 commits into
mainfrom
expand-simples

Conversation

@cavalle

@cavalle cavalle commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Part of APP-636

@mintlify

mintlify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
invopop 🟢 Ready View Preview Jul 29, 2026, 12:23 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Brazil DF-e documentation examples to cover Simples Nacional issuers with additional regime-related metadata, and adds a new NFC-e (B2C) Simples example to the BR invoice accordion.

Changes:

  • Extend the Brazil supplier party example with additional br-nfse-* and br-nfe-* extensions for incentives/regimes.
  • Add/adjust BR invoice examples to include state registration identities and CFOP on lines, plus a new NFC-e Simples Nacional example pair (.min.mdx + built .mdx).
  • Update the BR invoice accordion and supplier guide to explain the new/updated fields and add the new example section.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
snippets/parties/br/supplier.mdx Extends the BR supplier party snippet with additional NFS-e/NF-e regime-related extensions.
snippets/invoices/br/dfe-product-invoice-simples.min.mdx Adds customer state registration identity to support Simples Nacional credit scenarios.
snippets/invoices/br/dfe-product-invoice-simples.mdx Regenerated built example reflecting the updated minimal input and new customer identity.
snippets/invoices/br/dfe-consumer-invoice.min.mdx Adds per-line CFOP extension required for NFC-e classification.
snippets/invoices/br/dfe-consumer-invoice.mdx Regenerated built example reflecting the updated minimal input with CFOP.
snippets/invoices/br/dfe-consumer-invoice-simples.min.mdx Introduces a new minimal NFC-e Simples Nacional example (CSOSN/CST/CFOP).
snippets/invoices/br/dfe-consumer-invoice-simples.mdx Adds the generated “Built version” for the new NFC-e Simples Nacional example.
snippets/invoices/br/accordion.mdx Imports and documents the new example, and clarifies Simples Nacional notes around regimes/CSOSN/CFOP/state registration.
guides/br-dfe-supplier.mdx Adds an Info note clarifying br-nfse-* vs br-nfe-* identities/extensions for suppliers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread guides/br-dfe-supplier.mdx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 12:28
@cavalle
cavalle merged commit f497502 into main Jul 29, 2026
3 checks passed
@cavalle
cavalle deleted the expand-simples branch July 29, 2026 12:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

snippets/invoices/br/accordion.mdx:129

  • The NFC-e section says each line "must" include br-nfe-cfop, but the BR NF-e FAQ table documents CFOP as optional for model 65 (NFC-e) and required for model 55. This is an internal documentation inconsistency that may confuse readers; consider aligning this bullet with the FAQ wording (or updating the FAQ in a follow-up if CFOP truly became mandatory for NFC-e).
		- we've added the [`br-nfe-v4`](https://docs.gobl.org/addons/br-nfe-v4) addon with the `simplified` tag; this sets the [`br-nfe-model`](https://docs.gobl.org/addons/br-nfe-v4#model) extension to `65` (NFC-e),
		- the customer is optional and in this example we've omitted it,
		- extensions (`ext`) and identities have been used in multiple locations for fields whose values cannot be determined any other way,
		- each line must include a [`br-nfe-cfop`](https://docs.gobl.org/addons/br-nfe-v4#cfop-fiscal-operations-and-services-code) extension to classify the fiscal operation, just as on an NF-e,
		- the payment instructions key is set to `card`, which causes the [`br-nfe-payment-means`](https://docs.gobl.org/addons/br-nfe-v4#payment-method) extension to be set automatically to `03` (cartão de crédito),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants