Symptom
The mandatory field forma pago is missing in the eInvoice XML file and XML must contain field FormaPago with appropriate external values.
Environment
SAP S/4HANA Cloud Public Edition.
Cause
This is not a mandatory tag for eInvoice scenarios according to documentation provided by SAT.
Resolution
This is not an issue/error in the standard eDocument Solution. To populate the <FormaPago> tag for eInvoice scenario, adjust your current scenario by fulfilling the field "Payment Method" and the value mapping "CFDI_PAYMNT_MEANS", or by implementing your own logic in the app "CUSTOM LOGIC" and add the BAdI "Mexico: Filling of Payment Method for Payments".
Please, revise and follow directions in SAP Help Portal APP Extensibility: eDocument Cockpit:
Mexico: Filling of Payment Method for Payments permits to create own logic for filling the Payment Method field when eDocuments are generated for electronic payment receipt complements.
See Also
Keywords
FormaPago, eInvoice, Payment Method, value mapping, CUSTOM LOGIC, eDocument Cockpit , KBA , CA-GTF-CSC-EDO-MX , Document Compliance Mexico , How To