According to e-invoicing regulations in Saudi Arabia, your e-invoicing solution in the integration phase of e-invoicing must generate, share, and store e-invoices in specific formats of XML or PDF/A-3 with embedded XML. However, to share the invoice details to portal for clearance, it should be in XML format.