-
Notifications
You must be signed in to change notification settings - Fork 48
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
[FEATURE] Add Creditor ID to addDocumentPaymentMeanToDirectDebit()? #53
Comments
The missing information is:
Looking at the code, it can be set using Since the Creditor Identifier is a mandatory information to direct debit, wouldn't it be better to (additionally) include it as paramter to addDocumentPaymentMeanToDirectDebit() ?
|
Hi @danielmarschall,
Yes, this is a good idea. I would include that as an additional parameter. But please give me time, I have a normal job... :-) You are of course free to set a pull request. Best regareds... |
Sounds good! I also tested it, it works like expected. (Regarding #52, I wanted to say that I am very sorry that I caused so much trouble. I was under the impression that the BankName exists if the XML validated. But I have now checked the schema, and indeed, this field does not exist in the specification; so I don't need it.) |
The following code:
$document->addDocumentPaymentMeanToDirectDebit('DE02100500000054540402');
Produces (using XRechnung3 Profile):
The validator does reject the document, because Credit Identifier (Gläubiger ID) is missing:
According to this article , these are the changes for XRechnung 2.3.1
The text was updated successfully, but these errors were encountered: