Standard data setup
In addition to the parameters of the Electronic documents parameters (MEM IT) page, for the correct operation of the app it is necessary to complete some configurations on standard Finance & Operations entities, described in this page.
Methods of payment and terms of payment
In the methods of payment (Accounts receivable), the Method of payment code field must be populated with a mapping code, to be selected among those provided by the Italian Revenue Agency (MP01, MP02, ...), which is inserted by the system in the ModalitaPagamento tag of the XML file.
Similarly, in the terms of payment the Terms of payment code field must be populated with the corresponding TP code (tag CondizioniPagamento).
The available mapping values are created by the Create default configuration action and can be consulted and extended in the Electronic document fattura codes (MEM IT) page (see the Electronic documents parameters page).
VAT transaction nature
On the Sales tax codes page it is necessary to specify the Nature value on all the codes with 0% VAT, to indicate the reason of the exemption according to the allowed values (N1, N2.1, ...). Missing values cause the rejection of the document by the SdI. The allowed values are listed in the Electronic document natura codes (MEM IT) page, created by the Create default configuration action; the description of each natura code is exported as the regulatory reference (RiferimentoNormativo) of the exempt operations.
Document types
In the Electronic document types (MEM IT) page it is possible to consult the FatturaPA document type codes (TD01, TD04, ...), with the indication of whether each code can be used for sales or purchase documents and whether it belongs to the reverse charge family. The values are created by the Create default configuration action.
Sending exclusions
The sending of the electronic documents is activated for all the documents, except those excluded through the following configurations:
Sales tax groups: the documents of the customers and vendors having a sales tax group with the Exclude from Italian Electronic Invoicing flag enabled are not sent.
Sales tax book sections: the documents whose tax transactions belong to a sales tax book section (VAT register) with the same flag enabled are not sent.
Item sales tax groups
The Default for Italian Electronic Invoicing flag is used during the creation of the purchase documents: when a line mapping rule does not specify an item sales tax group, the system assigns the flagged group whose sales tax code matches the VAT rate and nature of the received line at the invoice date. Enable the flag on the groups to be used for this resolution (typically one per VAT rate), only on groups containing a single sales tax code.
Customers
The unique code of the customer for electronic invoicing must be assigned in the Authority office field of the customer, populated as follows:
6 character code: office unique code for Public Administrations.
7 character code: unique code for B2B.
7 character code with value "0000000": B2C natural person, or company without a unique code.
7 character code with value "XXXXXXX": foreign party (requires the Send foreign customers parameter to be enabled).
Vendors
The vendor of the received documents is resolved based on the VAT registration number (Tax exempt number, with or without the IT prefix, or Registration IDs) or the fiscal code. At least one of these identifiers must be populated on the vendor for the automatic resolution.
Received documents prerequisites
An active document type of class File must be available in the Document management configuration, used for the attachments placed on the created invoices (the standard File type is sufficient).
To compare the calculated invoice totals with the totals declared in the received XML file, the standard Vendor invoice automation feature must be enabled: the Totals page of the pending vendor invoice then shows the imported amount and imported sales tax next to the calculated ones, and posting applies the matching policy configured in the Accounts payable parameters.
For the matching of the lines referencing a purchase order, the tolerance applied is the Price tolerance percentage configured in the Accounts payable parameters.