Documentation
¶
Overview ¶
Package arca provides the ARCA addon for Argentina.
Index ¶
Constants ¶
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" )
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
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
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" )
const TypeUsedGoodsPurchaseInvoice = "49"
TypeUsedGoodsPurchaseInvoice is the code for the used goods purchase invoice
Variables ¶
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.
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.
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.
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.
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.
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.