Skip to content

Error in PDF/XML validation ZUGFeRD 2.3 EXTENDED #151

@SNC-RWillmann

Description

@SNC-RWillmann

Hello,

Quba reports an error when a ZUGFeRD 2.3 EXTENDED invoice contains more than one "AppliedTradeAllowanceCharge" records.
ZUGFeRD 2.3 EXTENDED specifically allows more than one record of this kind.

How to recreate the error:

Quba version 1.50 and example files from ZUGFeRD information package (https://www.ferd-net.de/en/downloads/publications)

version 2.3: ZF23_DE\Beispiele\4. EXTENDED\EXTENDED_Warenrechnung\EXTENDED_Warenrechnung.pdf
version 233: ZF233_DE_01\Beispiele\4. EXTENDED\EXTENDED_Warenrechnung\EXTENDED_Warenrechnung.pdf

When loading either one of the two examples files Quba throws an exception:

required cardinality of first argument of format-number() is zero or one; supplied value contains 2 items (xs:untypedAtomic('0.03'), xs:untypedAtomic('0.02'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions