Skonto in field BT-20 is not valid in XRechnung for some cases #180
Closed
roggyse
announced in
Announcements
Replies: 1 comment 8 replies
-
HI @roggyse, thank you for your contribution. Have you tried the following (look for the \n in the end of the string): $document->addDocumentPaymentTerm("#SKONTO#TAGE=28#PROZENT=14.00#\n"); This will also work: $document->addDocumentPaymentTerm("14 Prozent Skonto innerhalb von 2 Tagen\n#SKONTO#TAGE=28#PROZENT=14.00#\n"); This works for me |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
first of all, thank you for your great work.
Until now it worked well, but now I implemented the support for Skonto (Profile XRechnung 3.0). For this I added the skonto string as described in the official documentation: #SKONTO#TAGE=21#PROZENT=3.00#
The result is:
The kosit validator throws an error for this:
That means, each Skonto term must be written in a own line. So if I edit the XML-File like this it works (manually add line breaks on tag ram:Description):
ram:SpecifiedTradePaymentTerms
ram:Description
#SKONTO#TAGE=28#PROZENT=14.00#
</ram:Description>
ram:DueDateDateTime
<udt:DateTimeString format="102">20241223</udt:DateTimeString>
</ram:DueDateDateTime>
</ram:SpecifiedTradePaymentTerms>
Is there a possibility to add line breaks on your function "->addDocumentPaymentTerm()" or is this kind of skonto not supported yet?
Best regards
Dennis
Beta Was this translation helpful? Give feedback.
All reactions