Understanding Bar Codes for Argentina Invoices
When you generate a legal document with a document type of A, B, E, or M, you must print a bar code on the document. The bar code includes the:
C.U.I.T number
AFIP legal document type
Issue place
C.A.I. number
C.A.I. due date
Check digit
When you set up the ARG - Item ARGP - Allowed Values UDC (76/B1), you must specify Y in the Special Handling Code field for document types A, B, E, and M. A value of Y indicates that the document type requires the system to print the bar code information.
When you run the Print Invoices (R42565) program or the Invoice Print (R03B505) program, the system calls the Print Invoice / Shipment Note - ARG - 42 (R76A566) program. The Print Invoice / Shipment Note - ARG - 42 program calls the N76A510 (Bar Code String Generator) business function to print the bar code as well as the numeric equivalent of the bar code.