File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1390,11 +1390,11 @@ class function TZUGFeRDInvoiceAdapter.LoadFromInvoiceDescriptor(
13901390 if _InvoiceDescriptor.PaymentMeans <> nil then
13911391 _Invoice.AccountingSupplierParty.BankAssignedCreditorIdentifier := _InvoiceDescriptor.PaymentMeans.SEPACreditorIdentifier;
13921392 // TODO Mehrere Bankverbindungen
1393- if _InvoiceDescriptor.CreditorBankAccounts .Count > 0 then
1393+ if _InvoiceDescriptor.DebitorBankAccounts .Count > 0 then
13941394 begin
1395- _Invoice.PaymentFinancialAccount := _InvoiceDescriptor.CreditorBankAccounts [0 ].IBAN;
1396- _Invoice.PaymentFinancialAccountName := _InvoiceDescriptor.CreditorBankAccounts [0 ].Name ;
1397- _Invoice.PaymentFinancialInstitutionBranch := _InvoiceDescriptor.CreditorBankAccounts [0 ].BIC;
1395+ _Invoice.PaymentFinancialAccount := _InvoiceDescriptor.DebitorBankAccounts [0 ].IBAN;
1396+ _Invoice.PaymentFinancialAccountName := _InvoiceDescriptor.DebitorBankAccounts [0 ].Name ;
1397+ _Invoice.PaymentFinancialInstitutionBranch := _InvoiceDescriptor.DebitorBankAccounts [0 ].BIC;
13981398 end ;
13991399
14001400 // TODO #SKONTO Type
You can’t perform that action at this time.
0 commit comments