diff --git a/account_banking_sepa_credit_transfer/models/account_payment_order.py b/account_banking_sepa_credit_transfer/models/account_payment_order.py index 44de57d54..df6ccba36 100644 --- a/account_banking_sepa_credit_transfer/models/account_payment_order.py +++ b/account_banking_sepa_credit_transfer/models/account_payment_order.py @@ -130,6 +130,11 @@ class AccountPaymentOrder(models.Model): payment_info, 'CdtTrfTxInf') payment_identification = etree.SubElement( credit_transfer_transaction_info, 'PmtId') + instruction_identification = etree.SubElement( + payment_identification, 'InstrId') + instruction_identification.text = self._prepare_field( + 'Instruction Identification', 'line.name', + {'line': line}, 35, gen_args=gen_args) end2end_identification = etree.SubElement( payment_identification, 'EndToEndId') end2end_identification.text = self._prepare_field(