Skip to content
New issue

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

Bei Payment TypeCode 59 (Lastschrift/SEPA direct debit) werden Gläubiger ID und IBAN falsch konvertiert #7

Closed
msccip opened this issue Dec 8, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@msccip
Copy link

msccip commented Dec 8, 2020

Hallo,

aus dem CII-Block:

        <ram:ApplicableHeaderTradeSettlement>
            <ram:CreditorReferenceID>asdfdsf</ram:CreditorReferenceID>
            <ram:PaymentReference>Verwendungszweck</ram:PaymentReference>
            <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
            <ram:SpecifiedTradeSettlementPaymentMeans>
                <ram:TypeCode>59</ram:TypeCode>
                <ram:PayerPartyDebtorFinancialAccount>
                    <ram:IBANID>DE8444010046023...</ram:IBANID>
                </ram:PayerPartyDebtorFinancialAccount>
            </ram:SpecifiedTradeSettlementPaymentMeans>...
        </ram:ApplicableHeaderTradeSettlement>

mit Gläubiger-ID asdfdsf wird unter UBL:

	<cac:PaymentMeans>
		<cbc:PaymentMeansCode>59</cbc:PaymentMeansCode>
		<cbc:PaymentID>Verwendungszweck</cbc:PaymentID>
		<cac:PayeeFinancialAccount>
			<cbc:ID>DE8444010046023...</cbc:ID>
		</cac:PayeeFinancialAccount>
		<cac:PaymentMandate>
			<cbc:ID>1400000007</cbc:ID>
			<cac:PayerFinancialAccount>
				<cbc:ID>asdfdsf</cbc:ID>
			</cac:PayerFinancialAccount>
		</cac:PaymentMandate>
	</cac:PaymentMeans>

Die Gläubiger-ID steht unter der IBAN des Zahlers. Dorthin gehört aber die IBAN DE8444010046023..., die fälschlicherweise als IBAN des Zahlungsempfängers ausgewiesen wird. Die Gläubiger-ID gehört unter PartyIdentification mit der schemaID "SEPA".

mfG
Michael Schneider

@phax phax self-assigned this Dec 8, 2020
@phax phax added the bug Something isn't working label Dec 9, 2020
@phax
Copy link
Owner

phax commented Dec 9, 2020

Hi Michael,
thanks for pointing that out.
In the future it would be great if we can use English as the default language, so that others can follow up more easily.
Thanks, Philip

phax added a commit that referenced this issue Jan 5, 2021
phax added a commit that referenced this issue Jan 5, 2021
@phax
Copy link
Owner

phax commented Jan 5, 2021

The generated output now looks like this:

  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>59</cbc:PaymentMeansCode>
      <cbc:PaymentID>Verwendungszweck</cbc:PaymentID>
      <cac:PaymentMandate>
      <cac:PayerFinancialAccount>
        <cbc:ID>DE8444010046023...</cbc:ID>
      </cac:PayerFinancialAccount>
    </cac:PaymentMandate>
  </cac:PaymentMeans>

Thanks for pointing that out.
These changes will be part of the 1.3.0 release

@phax phax closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants