This document describes how the standard Transfer CSV fields are mapped to the Italian FatturaPA XML invoice format.
For each target item, a field rule with overwrite: false (the default) skips an existing non-object value that PHP considers non-empty. A rule with overwrite: true can replace an existing value when its conditions pass and it produces a value. Repeated groups for the same target can write to the same item when their group keys match.
VAT summary computed from the lines, split payment aware. Can replace an existing value (overwrite: true). Computed: getValue(output, "fatturaElettronicaBody[0].datiBeniServizi.dettaglioLinee"). Transform: calculateInvoiceItDatiRiepilogo
document total computed from the VAT summary. Can replace an existing value (overwrite: true). Computed: getValue(output, "fatturaElettronicaBody[0].datiBeniServizi.datiRiepilogo"). Transform: calculateInvoiceItTotalAmount
amount to pay, computed from the VAT summary and net of VAT under split payment. Can replace an existing value (overwrite: true). Computed: getValue(output, "fatturaElettronicaBody[0].datiBeniServizi.datiRiepilogo"). Transform: calculateInvoiceItTotalAmount