Error while converting the SBDH string to PeppolSBDHData object #344
-
|
Hi @phax While converting the UAE-TDD SBDH payload string from the API to PeppolSBDHData we are getting following error : [error] [invalid-standard] in [SBDH/DocumentIdentification/Standard] The 'DocumentIdentification/Standard' element has the illegal value 'urn:peppol:tax-data-document: 1.0'. It must equal the namespace URI of the business message ('urn:peppol:schema:pint:peppol:tdd: 1.0'). It must also be the beginning of the document type identifier value ('urn:fdc:peppol:tax-data-document: 1.0: :TaxData##urn:peppol:pint:taxdata-1@ae-1: : 1.0'). Following is the code snip which is giving the error : new PeppolSBDHDataReader(PeppolIdentifierFactory.INSTANCE).extractData(new NonBlockingByteArrayInputStream(payloadBytes)); We have tried checking if there is any other approach provide in the library to convert the TDD SBDH into the PeppolSBDHData object, but we didn't find any. Phase-4 library version - 4.0.1 If you can help us resolve this issue it will be very helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @Mrunal0797 the Peppol UAE TDD specification just finished member review. |
Beta Was this translation helpful? Give feedback.
Hi @Mrunal0797 the Peppol UAE TDD specification just finished member review.
The problem that you are facing was exactly one that was identified. We need to wait for the final version of the UAE TDD specification to get this resolved.
So please have a little patience and wait for OpenPeppol to publish the final specification and (if needed) codelist update.