Skip to content

[Bug]: [W1][xmlport][37200][Sales Cr.Memo - PEPPOL30] is not valid by XSD scheme #10373

Description

@RadoArvay

Describe the issue

XMLport for exporting credit memos to the Peppol BIS3 XML format was probably created as a copy of the invoice export, because it has the same structure of elements. But the XML file generated by this XMLport is not valid against Peppol UBL CreditNote scheme.

The XML element TaxPointDate is misplaced and should be moved rigth after the IssueDate element.

In the standard implementation of the providers, TaxPointDate value is empty and therefore it is not exported to the XML file and, therefore, the XML file without TaxPointDate is valid. But when the implementation of interface "PEPPOL Document Info Provider" is overridden and TaxPointDate has a value, the validation fails.

Expected behavior

The XML element TaxPointDate should be placed according to the XSD scheme, or as there is a definition on https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-creditnote/tree/.

Steps to reproduce

A new implementation of the interface is needed and there should be variable TaxPointDate filled.

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    IntegrationGitHub request for Integration area

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions