Skip to content

Import Invoice with invoiceReferencedIssueDate #877

@house1909

Description

@house1909

i have an invoice with InvoiceReferencedDocument inlcuding

  • IssuerAssignedID
  • FormattedIssueDateTime

when i try to import this document the invoiceReferencedDocumentID will be extracted but not the invoiceReferencedIssueDate

this is the stacktrace:
org.mustangproject.ZUGFeRD.ZUGFeRDInvoiceImporter#extractInvoice
-> org.mustangproject.ZUGFeRD.ZUGFeRDInvoiceImporter#extractInto
...
[line: 898]
zpp.setInvoiceReferencedDocumentID(extractString("//[local-name()="InvoiceReferencedDocument"]/[local-name()="IssuerAssignedID"]|//[local-name()="BillingReference"]/[local-name()="InvoiceDocumentReference"]/*[local-name()="ID"]"));
...

it looks like there is missing something like:

zpp.setInvoiceReferencedIssueDate(extractString("//[local-name()="InvoiceReferencedDocument"]/[local-name()="FormattedIssueDateTime"]|.......);


mustangProject Version: 2.16.4

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