Directories
¶
| Path | Synopsis |
|---|---|
|
Package cnab is a Go SDK for generating CNAB 240 FEBRABAN remittance files.
|
Package cnab is a Go SDK for generating CNAB 240 FEBRABAN remittance files. |
|
layout
Package layout defines the contract between the generic CNAB 240 engine and a bank or product specific field layout.
|
Package layout defines the contract between the generic CNAB 240 engine and a bank or product specific field layout. |
|
examples
|
|
|
barcode_tax
command
Example: generating a CNAB 240 remittance that pays a utility bill or tax slip identified by a barcode (Segmento O), such as an electricity bill.
|
Example: generating a CNAB 240 remittance that pays a utility bill or tax slip identified by a barcode (Segmento O), such as an electricity bill. |
|
boleto
command
Example: generating a CNAB 240 remittance that pays a boleto.
|
Example: generating a CNAB 240 remittance that pays a boleto. |
|
cancel_payment
command
Example: generating a CNAB 240 remittance that cancels a payment sent in an earlier file.
|
Example: generating a CNAB 240 remittance that cancels a payment sent in an earlier file. |
|
credit_account
command
Example: generating a CNAB 240 remittance with a same-bank credit-in-account payment.
|
Example: generating a CNAB 240 remittance with a same-bank credit-in-account payment. |
|
custom_layout_json
command
Example: defining a custom bank layout from a JSON config file instead of Go structs, then using it exactly like the bundled "febraban240" reference layout to generate a remittance.
|
Example: defining a custom bank layout from a JSON config file instead of Go structs, then using it exactly like the bundled "febraban240" reference layout to generate a remittance. |
|
darf
command
Example: generating a CNAB 240 remittance that pays a normal DARF tax slip, with principal, fine and interest tracked separately.
|
Example: generating a CNAB 240 remittance that pays a normal DARF tax slip, with principal, fine and interest tracked separately. |
|
gps
command
Example: generating a CNAB 240 remittance that pays a GPS (Guia da Previdência Social) contribution.
|
Example: generating a CNAB 240 remittance that pays a GPS (Guia da Previdência Social) contribution. |
|
pix_bank_data
command
Example: generating a CNAB 240 remittance with a PIX transfer addressed by the beneficiary's bank account data instead of a PIX key.
|
Example: generating a CNAB 240 remittance with a PIX transfer addressed by the beneficiary's bank account data instead of a PIX key. |
|
pix_key
command
Example: generating a CNAB 240 remittance with a PIX transfer addressed by key (in this case, an e-mail key).
|
Example: generating a CNAB 240 remittance with a PIX transfer addressed by key (in this case, an e-mail key). |
|
ted
command
Example: generating a CNAB 240 remittance with a TED (wire transfer) payment to a supplier at a different bank.
|
Example: generating a CNAB 240 remittance with a TED (wire transfer) payment to a supplier at a different bank. |
|
internal
|
|
|
engine
Package engine implements the CNAB 240 rendering mechanics: field padding and alignment, 240 column record assembly, batch/file sequencing, trailer computation and the FEBRABAN structural limits.
|
Package engine implements the CNAB 240 rendering mechanics: field padding and alignment, 240 column record assembly, batch/file sequencing, trailer computation and the FEBRABAN structural limits. |
|
layouts
|
|
|
febraban240
Package febraban240 is the bundled reference layout implementing the pure FEBRABAN CNAB 240 standard, with no bank-specific customization.
|
Package febraban240 is the bundled reference layout implementing the pure FEBRABAN CNAB 240 standard, with no bank-specific customization. |
Click to show internal directories.
Click to hide internal directories.