diff --git a/account_invoice_import_invoice2data/readme/CONFIGURE.rst b/account_invoice_import_invoice2data/readme/CONFIGURE.rst index d4149998420..70d52c98ed9 100644 --- a/account_invoice_import_invoice2data/readme/CONFIGURE.rst +++ b/account_invoice_import_invoice2data/readme/CONFIGURE.rst @@ -78,6 +78,8 @@ Invoice Fields (on document level) | note | char | The contents of this field will be imported in the chatter. | | narration | char | The contents of this field will be imported in the narration field. (on the bottom of the invoice.) | | payment_reference | char | If the invoice is pre-paid an reference can be used for payment reconciliation | +| payment_unece_code | char | The unece code of the payment means according to 4461 code list | + diff --git a/account_invoice_import_invoice2data/wizard/account_invoice_import.py b/account_invoice_import_invoice2data/wizard/account_invoice_import.py index fd77442d641..18a91216996 100644 --- a/account_invoice_import_invoice2data/wizard/account_invoice_import.py +++ b/account_invoice_import_invoice2data/wizard/account_invoice_import.py @@ -194,6 +194,7 @@ def invoice2data_to_parsed_inv(self, invoice2data_res): "purchase_order_id": invoice2data_res.get("purchase_order_id"), "mandate_id": invoice2data_res.get("mandate_id"), "payment_reference": invoice2data_res.get("payment_reference"), + "payment_unece_code": invoice2data_res.get("payment_unece_code"), "lines": lines, } for field in ["invoice_number", "description"]: