ZUGFeRD / quba-viewer

Quba is a viewer for electronic invoices
Apache License 2.0
97 stars 19 forks source link

[v1.4.0] Actual delivery date is not displayed (BT-72) #49

Open Georg-Git opened 5 months ago

Georg-Git commented 5 months ago

Importing a xml File with: EN16931-ID: BT-72 Actual delivery date

The part of the xml Code:

    <ram:ApplicableHeaderTradeDelivery>
      <ram:ActualDeliverySupplyChainEvent>
        <ram:OccurrenceDateTime>
          <udt:DateTimeString format="102">20240607</udt:DateTimeString>
        </ram:OccurrenceDateTime>
      </ram:ActualDeliverySupplyChainEvent>
    </ram:ApplicableHeaderTradeDelivery>

But QUBA Viewer is not displaying the actual delivery date.

jstaerk commented 2 months ago

can you please provide a complete sample? it really makes things easier to reproduce. Thanks!

yeezy69 commented 2 weeks ago

In Germany either „Actual delivery date“ (BT-72) or „INVOICING PERIOD“ (BG-14, with BT-73 and BT-74) must be specified. In quba 1.4.0-1.4.2 the BT-73 and 74 are displayed, but not BT-72. Here is a complete example with BT-72.

BT-72 contains the following lines in my example.xml:

<ram:ApplicableHeaderTradeDelivery>
    <ram:ActualDeliverySupplyChainEvent>
    <ram:OccurrenceDateTime>
        <udt:DateTimeString format="102">20240930</udt:DateTimeString>
    </ram:OccurrenceDateTime>
    </ram:ActualDeliverySupplyChainEvent>
</ram:ApplicableHeaderTradeDelivery>

example.xml