davsclaus opened a new pull request, #25468: URL: https://github.com/apache/camel/pull/25468
## Summary _Claude Code on behalf of davsclaus_ - Add new `camel-ubl` data format for marshalling/unmarshalling [UBL 2.1](https://docs.oasis-open.org/ubl/UBL-2.1.html) (Universal Business Language) documents - Uses the [ph-ubl21](https://github.com/phax/ph-ubl) library (Apache 2.0 licensed) by Philip Helger as the JAXB binding layer - Supports all 65 UBL 2.1 document types with auto-detection from Java class name (marshal) or XML root element (unmarshal) - Includes `prettyPrint` option for formatted XML output - Full Java/XML/YAML DSL support via `.ubl()` and `.ubl(boolean prettyPrint)` methods UBL 2.1 is the document format used by the [Peppol](https://peppol.org/) e-invoicing network and is increasingly mandated across the EU (ViDA directive) and other countries. JIRA: https://issues.apache.org/jira/browse/CAMEL-23690 ## Test plan - [x] Round-trip marshal/unmarshal tests for Invoice, CreditNote, and Order document types - [x] Unmarshal from raw XML string test - [x] Pretty print option test - [x] Error handling test for unsupported types - [x] Full root build passes (`mvn install -DskipTests -Dquickly`) - [x] All 6 unit tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
