SdI / FatturaPA XML
POST /wp-json/api/v2/create-xml generates FatturaPA / SdI XML from the shared POP payload.
What you need
- a valid
datapayload, authenticated license enabled - if present on both sides, the payload’s
tax_regimemust match the account’s - recipient routing via
transmitter_data.sdi_codeortransmitter_data.recipient_pec
Output
- success: raw XML
- error (validation, quota, webhook, integration): structured JSON
Delivery
Generated XML can be sent to active SdI integrations or to configured webhooks.
Good to know
purchase_order_data.idaddsDatiOrdineAcquisto- credit notes require
connected_invoice_data.idanddate - in sandbox,
invoice_numberis prefixed withSANDBOX- connector_exclusive_channel_active(403) — SdI delivery is blocked while Zoho is the account’s active, connected billing channel; local XML generation is not affectedcountry_not_eligible_for_sdi— the account’s registered country is not IT or SM- generating and sending via WordPress, direct API, n8n, or MCP no longer requires a paid plan: every plan, including Free, can send using its own available credits. On Shopify, sending still requires the Basic plan or higher