Java ZATCA Compliance CLI Tool

Job ID: 40012298

Budget: $30 – $250 USD

I’m building a command-line utility that automates every step required for Saudi ZATCA e-invoicing, and I want it written entirely in Java 17 with nothing but standard or free, open-source libraries. The tool must:

• Create a Certificate Signing Request that conforms to ZATCA’s exact specification.
• Produce a fully compliant XML invoice (Phase 2 format).
• Generate the Phase 2 QR code.
• Apply the mandatory digital signature layers (XMLDSig, canonicalisation, etc.) so the resulting file passes the official ZATCA validator in one shot.

All processing has to be performed inside the program itself; no shelling-out to third-party software or paid libraries is acceptable. When something goes wrong, the message should appear directly in the console; no separate log file is required.

Deliverables
1. Complete, well-commented Java source code
2. A clean Maven / Gradle build or another straightforward method to fetch the open-source dependencies and compile the project
3. Step-by-step instructions to run each command from the terminal

Feel free to recommend a clear flag or positional argument scheme if you have a preference; I’m open as long as it remains intuitive and consistent.