arca

package
v0.403.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

Package arca provides the ARCA addon for Argentina.

Index

Constants

View Source
const (
	// Key identifies the ARCA addon family. Individual versions append a
	// suffix; the family key is used as the fault-code namespace so that
	// rules that carry across versions keep stable codes.
	Key cbc.Key = "ar-arca"

	// V4 for ARCA version 4
	V4 cbc.Key = Key + "-v4"
)
View Source
const (
	// CAE is the code assigned by ARCA to certify that the invoice has been reported.
	StampCAE cbc.Key = "arca-cae"
	// CAEExpiry is the expiry date of the CAE (normally 3 days)
	StampCAEExpiry cbc.Key = "arca-cae-expiry"
	// QR is the QR code URL that contains information about the invoice including the CAE and the CAE expiry date.
	StampQR cbc.Key = "arca-qr"
)

ARCA Official Codes to include in stamps

View Source
const (
	ExtKeyDocType      cbc.Key = "ar-arca-doc-type"
	ExtKeyConcept      cbc.Key = "ar-arca-concept"
	ExtKeyIdentityType cbc.Key = "ar-arca-identity-type"
	ExtKeyTaxType      cbc.Key = "ar-arca-tax-type"
	ExtKeyVATRate      cbc.Key = "ar-arca-vat-rate"
	ExtKeyVATStatus    cbc.Key = "ar-arca-vat-status"
	ExtKeyTourismType  cbc.Key = "ar-arca-tourism-type"
	ExtKeyTourismItem  cbc.Key = "ar-arca-tourism-item"
)

Extension keys for Argentina ARCA v4

View Source
const (
	// TagMonotax is used for Invoice C - when the supplier is under the
	// Monotributo regime (simplified unified tax for small taxpayers in Argentina).
	TagMonotax cbc.Key = "monotax"
)
View Source
const TypeUsedGoodsPurchaseInvoice = "49"

TypeUsedGoodsPurchaseInvoice is the code for the used goods purchase invoice

Variables

View Source
var DocTypesA = []cbc.Code{
	"1",
	"2",
	"3",
	"4",
	"5",
	"34",
	"39",
	"51",
	"52",
	"53",
	"54",
	"60",
	"63",
	"201",
	"202",
	"203",
}

DocTypesA are document codes (Invoice A, Debit Note A, Credit Note A, and variants) Used for validating the document type against the VAT status.

View Source
var DocTypesB = []cbc.Code{
	"6",
	"7",
	"8",
	"9",
	"10",
	"35",
	"40",
	"61",
	"64",
	"206",
	"207",
	"208",
}

DocTypesB are document codes (Invoice B, Debit Note B, Credit Note B, and FCE variants) Used for validating the document type against the VAT status.

View Source
var DocTypesC = []cbc.Code{
	"11",
	"12",
	"13",
	"15",
	"211",
	"212",
	"213",
}

DocTypesC are document codes (Invoice C, Debit Note C, Credit Note C, and FCE variants) Used for validating the document type against the VAT status.

View Source
var DocTypesCreditNote = []cbc.Code{
	"3",
	"8",
	"13",
	"53",
	"197",
	"203",
	"208",
	"213",
}

DocTypesCreditNote are document codes for all credit notes (A, B, C, T, and FCE variants) Used for validating the arca document type extension against GOBL bill.Invoice type.

View Source
var DocTypesDebitNote = []cbc.Code{
	"2",
	"7",
	"12",
	"52",
	"196",
	"202",
	"207",
	"212",
}

DocTypesDebitNote are document codes for all debit notes (A, B, C, T, and FCE variants) Used for validating the arca document type extension against GOBL bill.Invoice type.

View Source
var DocTypesT = []cbc.Code{
	"195",
	"196",
	"197",
}

DocTypesT are document codes for tourism invoices (Factura T, Nota de Débito T, Nota de Crédito T). These are issued under the WSCT (Web Service Comprobante T) for tourism-sector operations.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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