examples/

directory
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2026 License: MIT

Directories

Path Synopsis
nfe
basic command
Only what NFE requires: description, amount, ncm, cfop.
Only what NFE requires: description, amount, ncm, cfop.
full command
Every field on Product filled in at once.
Every field on Product filled in at once.
icms_isento command
CSOSN 400 — MEI/Simples equivalent of the exempt ICMS40.
CSOSN 400 — MEI/Simples equivalent of the exempt ICMS40.
imported command
An imported item, tracked by its Ficha de Conteudo de Importacao.
An imported item, tracked by its Ficha de Conteudo de Importacao.
interstate_with_icms_dest command
Interstate sale, partilha do ICMS — CSOSN 900 (MEI/Simples).
Interstate sale, partilha do ICMS — CSOSN 900 (MEI/Simples).
scale_manufactured command
Relevant-scale manufacturing indicator and its manufacturer CNPJ.
Relevant-scale manufacturing indicator and its manufacturer CNPJ.
taxed_icms command
CSOSN 102 (no credit) — MEI/Simples equivalent of ICMS00.
CSOSN 102 (no credit) — MEI/Simples equivalent of ICMS00.
used_asset command
A used movable asset being resold.
A used movable asset being resold.
with_barcode command
A real GTIN/EAN instead of the "SEM GTIN" default.
A real GTIN/EAN instead of the "SEM GTIN" default.
with_extra_charges command
Freight, insurance, discount, and other expenses on the item.
Freight, insurance, discount, and other expenses on the item.
with_purchase_order command
Linked to the buyer's purchase order and item number.
Linked to the buyer's purchase order and item number.
with_quantity command
Multiple units at a per-unit price.
Multiple units at a per-unit price.
with_tax_benefit command
ICMS-ST item with a state tax benefit and presumed credit.
ICMS-ST item with a state tax benefit and presumed credit.
nfse
basic command
Only description/amount — service_code falls back to the company's fiscal profile.
Only description/amount — service_code falls back to the company's fiscal profile.
full command
Every optional field set at once.
Every optional field set at once.
with_discount command
An unconditional discount applied to the service value.
An unconditional discount applied to the service value.
with_observations command
A free-text note attached to the service.
A free-text note attached to the service.
with_service_code command
Explicit service_code, overriding the company default (1.06).
Explicit service_code, overriding the company default (1.06).
with_tax_retained command
ISSQN retained by the tomador — rejected (E0583) if the issuer is MEI.
ISSQN retained by the tomador — rejected (E0583) if the issuer is MEI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL