Chile
Chilean invoices are either extracted based on XML files in DTE format via PIX, or based on PDF invoices using generic extraction.
When processing electronic invoices in XML format you can submit both the XML document and the PDF rendition. If both documents are submitted within the same job, and their file names have the same base name, the XML format and the PDF format are handled as one document. PIX still generates a PDF that might be displayed during the Validation activity, where highlighting is displayed. However, the original PDF is used at export.
PDF invoices contain a bar code that has some basic information. You can enable bar code recognition so that AP Agility can use this information to improve the extraction quality when extracting from PDF only.
The following fields may be populated from the bar code if they are activated.
The bar code is highlighted if the extracted field is not printed on the document and it is extracted directly from the bar code.
Additionally, vendor information that is included in the bar code is used to improve vendor extraction.
Chilean invoices contain the RUT number for the vendor and the recipient. AP Agility extracts these values into the VendorVATRegNo field. Ensure that these fields are activated if you want to extract the RUT numbers.
If the value printed on the document conflicts with the value in the bar code, then the value in the bar code is used. If no value is printed on the document and there is no value in the bar code, then the fall-back is to use the value from the vendor master data.