If you cannot provide an XML document as input you can provide the required document information via a JSON input. We have constructed a schema which supports the requirements to generate all the document types acceptable by ZATCA. We provide the following to test out JSON schema using the inputs you will be providing.
Redoc UI to view each parameter of the JSON input in detail
Swagger UI to test out the payload with the test API