facturas/constants sub-path exports a small, stable set of ARCA reference codes as typed TypeScript constants. Use them anywhere you need to reference a voucher type, VAT rate, document type, or currency without hardcoding numeric or string literals in your application code.
These constants match the static ARCA reference data documented in the official catalogs. For authoritative, up-to-date lists at runtime — especially useful if ARCA adds or changes codes — use the live catalog methods on
arca.wsfe: getVoucherTypes(), getDocumentTypes(), getCurrencyTypes(), and getVatRates().ARCA_VOUCHER_TYPES
Voucher type codes used in voucherType fields across the WSFE and WSMTXCA APIs.
ARCA_DOCUMENT_TYPES
Document type codes used in documentType fields to identify the receiver.
For Factura B to consumidor final, use
documentType: ARCA_DOCUMENT_TYPES.CONSUMIDOR_FINAL together with documentNumber: 0. ARCA enforces rules on which document types are valid for a given voucher class and total amount — see WSFE error 10015 in the error handling guide if you hit a validation rejection.ARCA_RECEIVER_VAT_CONDITIONS
Receiver VAT condition codes (condición de IVA del receptor) used in receiverVatConditionId fields. The high-level issue() facade accepts receiverVatCondition as a human-readable string (e.g., "consumidor_final"); these numeric codes are used in exact-layer WsfeVoucherInput and WSMTXCA requests.
ARCA_CONCEPT_TYPES
Concept type codes (tipos de concepto) used in concept fields.
ARCA_VAT_RATES
VAT rate codes used in id fields inside vatRates arrays. Note that these are ARCA’s internal numeric identifiers for each rate — they are not the percentage values themselves.
ARCA_CURRENCY_IDS
Maps human-readable currency names to ARCA’s internal currency identifiers. Use these in currencyId fields when constructing a WsfeVoucherInput directly.
ARCA does not use ISO 4217 codes for currencies in its protocol.
"PES" is the ARCA ID for ARS and "DOL" is the ARCA ID for USD. The high-level builders (buildFacturaB, buildFacturaC) accept ISO codes ("ARS", "USD") and translate them internally — you only need ARCA_CURRENCY_IDS when working at the exact layer.ISO_CURRENCIES
ISO 4217 currency codes used by the high-level builders.
ARCA_CURRENCIES (deprecated)
A compatibility alias that maps directly to ARCA protocol IDs ("PES", "DOL"). This export is deprecated — use ARCA_CURRENCY_IDS instead.
Runtime Catalogs
The constants above cover the most common codes used throughout the SDK documentation and examples. When you need the full, authoritative list from ARCA at runtime, call the catalog methods on thewsfe service: