We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
I am trying to find a way to put multiple payment means in an invoice but I can get it to work. What I am doing wrong?
$supplier_bank_details = (new \NumNum\UBL\FinancialInstitutionBranch()) ->setID('Bank Name 1'); $supplier_iban_details = (new \NumNum\UBL\PayeeFinancialAccount()) ->setID('IBAN1') ->setFinancialInstitutionBranch($supplier_bank_details); $supplier_bank_details2 = (new \NumNum\UBL\FinancialInstitutionBranch()) ->setID('Bank Name 2'); $supplier_iban_details2 = (new \NumNum\UBL\PayeeFinancialAccount()) ->setID('IBAN2') ->setFinancialInstitutionBranch($supplier_bank_details2); ..... $supplier_payment_means = (new \NumNum\UBL\PaymentMeans()) ->setPaymentMeansCode(21) ->setPayeeFinancialAccount($supplier_iban_details); $supplier_payment_means2 = (new \NumNum\UBL\PaymentMeans()) ->setPaymentMeansCode(21) ->setPayeeFinancialAccount($supplier_iban_details2); ..... $invoice = (new \NumNum\UBL\Invoice()) ..... ->setAccountingCustomerParty($clientCompany) ->setPaymentMeans($supplier_payment_means) ->setPaymentMeans($supplier_payment_means2) ->setTaxTotal($taxTotal) ->setLegalMonetaryTotal($legalMonetaryTotal) ->setInvoiceLines($invoiceLines);
The text was updated successfully, but these errors were encountered:
Allow adding multiple PaymentMeans. Fix num-num#52
e8d6dd8
Successfully merging a pull request may close this issue.
Hello!
I am trying to find a way to put multiple payment means in an invoice but I can get it to work. What I am doing wrong?
The text was updated successfully, but these errors were encountered: