Since https://github.com/odoo/odoo/pull/69124,the UBL template is wrong because of the order of the elements in `PaymentMeans` because it is a sequence `PaymentDueDate` must be in second position (before `InstructionId`) https://www.w3schools.com/xml/el_sequence.asp https://docs.oasis-open.org/ubl/prd1-UBL-2.1/xsd/common/UBL-CommonAggregateComponents-2.1.xsd see `<xsd: complexType name = "PaymentMeansType">` OPW-2468492 closes odoo/odoo#77560 X-original-commit: 8b20b130da9528e7c1cc12c1fb25b6c2632b00f7 Signed-off-by: Achraf <abz-odoo@users.noreply.github.com> Signed-off-by: William André (wan) <wan@odoo.com>