Generating the XML File for VAT Invoices

Use the VAT Invoices program (R74P503) to generate the XML file for VAT invoices and vouchers. You can print the accounts payable transactions and the accounts receivable transactions separately or both in the XML file.

When you run the VAT Invoices program (R74P503) to print the XML file, the system:

  • Retrieves all posted transactions for the selected reporting period from the Accounts Payable Ledger table (F0411) and the Customer Ledger table (F03B11) that have tax entries in the Taxes table (F0018)

  • Retrieves the classification category for each invoice from the Reclassify Posted Invoices table (F74P503) and for each voucher from the Reclassify Posted Vouchers table (F74P507)

  • Identifies prepayment transactions based on the document type specified in the Prepayment Document Type processing option and credit memos based on the document type specified in the Credit Memo Document Type processing option

    For Poland VAT invoices, the system maintains a one-to-one relationship between the original invoice and the correction invoice (credit memo) and does not support multiple original invoice numbers for a correction transaction.

  • Prints a PDF file listing all the invoices and vouchers that are not included in the XML file due to invalid processing option values