Help us shape the future of Go! Take the 2026 Go Developer Survey

arca

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

README

GOBL ➡️ Argentina ARCA

Argentina ARCA (Agencia de Recaudación y Control Aduanero) e-invoicing addon for GOBL.

Copyright Invopop S.L. 2026. Released publicly under the GNU Affero General Public License v3.0. For commercial licenses please contact the dev team at invopop.

Lint Test Go Go Report Card codecov GoDoc Latest Tag

This module implements the Argentina ARCA v4 e-invoicing requirements as a GOBL tax addon (ar-arca-v4), based on the ARCA web services for electronic invoices (WSFE) and tourism invoices (WSCT). It covers invoices, credit notes, and debit notes of types A, B, C, and T, with validation rules registered under the AR-ARCA namespace.

The addon lives in the addon/ subpackage and registers into GOBL's global registry on import; the module root is reserved for future ARCA tooling. The Argentine tax regime (regimes/ar) stays in GOBL core.

Usage

Add a blank import of the addon, then declare it on documents:

import (
	_ "github.com/invopop/gobl.ar.arca/addon"
)
{
	"$schema": "https://gobl.org/draft-0/bill/invoice",
	"$regime": "AR",
	"$addons": ["ar-arca-v4"]
}

Note: ar-arca-v4 is an approved external addon key in GOBL core, but documents declaring it fail validation unless this module is imported.

Extensions

Key Description
ar-arca-doc-type Document type (A, B, C, or T variants). Normalized from the customer VAT status and invoice type when missing.
ar-arca-concept Concept: goods, services, or both. Normalized from the line items.
ar-arca-identity-type Customer identity document type for customers without a tax ID.
ar-arca-vat-status Customer VAT status. Normalized from the customer tax ID.
ar-arca-vat-rate VAT rate code for tax combos. Normalized from the GOBL rate.
ar-arca-tax-type Tax type for charges reported as other taxes.
ar-arca-tourism-type Issuer-receiver relationship for tourism (type T) invoices.
ar-arca-tourism-item Tourism item code for type T lines and discounts.

Development

examples/ holds sample documents with golden envelopes under examples/out/; regenerate them with:

go test . -run TestExamples -update

Sources

Documentation

Overview

Package arca is the root of the Argentina ARCA module for GOBL. The GOBL addon itself lives in the addon subpackage; this root package is reserved for converters and other ARCA tooling built on top of the addon.

Directories

Path Synopsis
Package arca provides the ARCA addon for Argentina.
Package arca provides the ARCA addon for Argentina.

Jump to

Keyboard shortcuts

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