-
|
Hello @phax, I have a question related to the namespace extraction issue discussed in #269, but specific to signed UBL documents. Context: Croatian e-Invoicing AS4 ImplementationStarting January 1, 2026, Croatia is transitioning to AS4 for all B2B and B2G e-Invoice exchange.
The ProblemThe thing I do not understand is how to implement this signature properly after transitioning to AS4 where a SBD wrapper is required for the document being sent. Signing the entire SBD and putting the signature in I understand that in PEPPOL it is not mandated to sign the UBL documents, and I am not even sure if it is mandated in the new Croatian system because of the horrible communication and specification on their part, but: Without business document-level signatures, there's no cryptographic proof of:
Any guidance on how to properly implement XAdES signatures in this scenario would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
|
@shunkica thanks for extracting that into a separate thread.
To my understanding, using the DSS library from the EC is a good starting point to get the data signed properly: https://github.com/esig/dss I suggest you start in the test folder from https://github.com/esig/dss/tree/master/dss-xades/src/test/java/eu/europa/esig/dss/xades/signature and search for something that works for you. Unfortunately, I haven't implemented the tax report signing yet, so I cannot provide you with more detailed guidance |
Beta Was this translation helpful? Give feedback.
Thanks for the clarification. Indeed the
whatandwhenis handled by AS4 directly.The
whatis the SBDH, including the UBL. Thewhenis handled in the AS4 UserMessage containing the date and time of the transmission.Both the SBDH as well as the AS4 UserMessage are signed when using the HR eDelivery AS4 profile