{"info":{"_postman_id":"3f901cf5-fec2-48f7-86d9-084de9e019a3","name":"POP Cloud Integrations","description":"<html><head></head><body><p>This documentation outlines the available integrations provided by <strong>POP Cloud</strong>, focusing primarily on the connection with the Italian <strong>SDI (Sistema di Interscambio)</strong> system and <strong>PEPPOL European Network</strong> for managing electronic invoices.</p>\n<p>But you can also leverage Webhook integration in order to integrate with Zapier, Make, n8n, ... etc.</p>\n<p>It includes endpoints for creating, verifying, sending, preserving, and deleting invoices, as well as services for validating tax codes and VAT numbers.</p>\n<p>Looking for the Cloud API docs to generate raw XML/UBL/PDF documents?</p>\n<p>Check the <a href=\"https://documenter.getpostman.com/view/41622997/2sAYkLmGT8\">POP Cloud API</a> docs.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"41622997","collectionId":"3f901cf5-fec2-48f7-86d9-084de9e019a3","publishedId":"2sB2qgcxZM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-30T15:00:34.000Z"},"item":[{"name":"Fatture in cloud","item":[{"name":"{{base_url}}/wp-json/api/v2/create-xml","id":"2f989fc5-cfa9-4742-99f5-5b85b360a6db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"plugin_version\": \"6.1.5\",\n  \"site_title\": \"POP2Abstract\",\n  \"site_url\": \"https://pop-multi-provider.sitedev.sedwebtools.it\",\n  \"user_agent_version\": \"6.8.1\",\n  \"user_agent\": \"wordpress\",\n  \"data\": {\n    \"id\": 109,\n    \"order_provider\": \"cozmoslabspms\",\n    \"xml_style\": \"https://pop-multi-provider.sitedev.sedwebtools.it/wp-content/plugins/woopop-electronic-invoice-free/assets/css/invoice/fatturaPA_v1.2.2.xsl\",\n    \"view\": false,\n    \"save\": false,\n    \"save_bulk\": false,\n    \"filename\": \"IT33333333333_0000J\",\n    \"type\": \"invoice\",\n    \"version\": \"FPR12\",\n    \"sdi_type\": \"\",\n    \"customer_type\": \"private\",\n    \"nature\": \"\",\n    \"ref_normative\": null,\n    \"vies\": false,\n    \"vat_kind\": null,\n    \"transmitter_data\": {\n      \"transmitter_id\": {\n        \"country_id\": \"IT\",\n        \"id_code\": \"IT33333333333\"\n      },\n      \"progressive\": \"33439e2346\",\n      \"transmitter_format\": \"FPR12\",\n      \"sdi_code\": \"0000000\",\n      \"transmitter_contact\": {\n        \"phone\": \"\",\n        \"email\": \"\"\n      },\n      \"recipient_pec\": \"\"\n    },\n    \"transfer_lender\": {\n      \"personal_data\": {\n        \"tax_id_vat\": {\n          \"country_id\": \"IT\",\n          \"id_code\": \"IT33333333333\",\n          \"tax_regime\": \"RF01\"\n        },\n        \"company_name\": \"TESTWIZARD\"\n      },\n      \"place\": {\n        \"address\": \"Via Baracca 21\",\n        \"zip_code\": \"48022\",\n        \"city\": \"Lugo\",\n        \"province_id\": \"RA\",\n        \"country_id\": \"IT\"\n      },\n      \"rea_registration\": {\n        \"office\": \"\",\n        \"number\": \"\",\n        \"liquidation_status\": \"\"\n      },\n      \"contact\": {\n        \"phone\": \"\",\n        \"email\": \"\"\n      }\n    },\n    \"transferee_client\": {\n      \"personal_data\": {\n        \"tax_id_vat\": {\n          \"country_id\": \"IT\",\n          \"id_code\": \"\"\n        },\n        \"tax_id_code\": \"PCCLFA75L04A494S\",\n        \"company_name\": \"\",\n        \"first_name\": \"Alfio\",\n        \"last_name\": \"Piccione\"\n      },\n      \"place\": {\n        \"address\": \"Via xxx, 123\",\n        \"zip_code\": \"44141\",\n        \"city\": \"Roma\",\n        \"province_id\": \"RM\",\n        \"country_id\": \"IT\"\n      }\n    },\n    \"invoice_body\": {\n      \"general_data\": {\n        \"doc_type\": \"TD01\",\n        \"currency\": \"EUR\",\n        \"date\": \"2025-05-14\",\n        \"invoice_number\": \"INV019/2025\",\n        \"invoice_prefix\": \"INV\",\n        \"invoice_suffix\": \"2025\"\n      },\n      \"provident_fund\": [],\n      \"total_document_amount\": \"585.60\"\n    },\n    \"purchase_order_data\": {\n      \"id\": \"#109\",\n      \"date\": \"2025-03-18\"\n    },\n    \"connected_invoice_data\": [],\n    \"order_items\": [\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"1965\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": false,\n        \"description\": \"neoPed Abbonamento Annuale\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"480.00\",\n        \"total_price\": \"480.00\",\n        \"rate\": \"22.00\",\n        \"total_tax\": 128.832\n      }\n    ],\n    \"payment_data\": {\n      \"terms_payment\": \"TP02\",\n      \"payment_amount\": \"585.60\",\n      \"payment_details\": \"MP08\",\n      \"beneficiary\": \"\",\n      \"financial_institution\": \"\",\n      \"iban\": \"\"\n    },\n    \"overrides\": {\n      \"bollo_force_apply\": false\n    }\n  },\n  \"integration\": {\n    \"use\": \"fatture-in-cloud\",\n    \"action\": \"create\",\n    \"receipts\": false,\n    \"client\": false\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-xml","urlObject":{"path":["wp-json","api","v2","create-xml"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f989fc5-cfa9-4742-99f5-5b85b360a6db"},{"name":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-delete","id":"43ba387d-5102-45a6-b708-741de4d8ce3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n\"integration\": {\n    \"document_id\" : 442338012\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-delete","urlObject":{"path":["wp-json","api","v2","fatture-in-cloud","document-delete"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43ba387d-5102-45a6-b708-741de4d8ce3d"},{"name":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-verify","id":"e14834d9-6f46-48f4-818e-7d5facdeab8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n\"integration\": {\n    \"document_id\" : 442319477\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-verify","urlObject":{"path":["wp-json","api","v2","fatture-in-cloud","document-verify"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e14834d9-6f46-48f4-818e-7d5facdeab8b"},{"name":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-send","id":"278dce6a-ea06-4ba5-9165-2a585f29ba5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n\"integration\": {\n    \"document_id\" : null\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/document-send","urlObject":{"path":["wp-json","api","v2","fatture-in-cloud","document-send"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"278dce6a-ea06-4ba5-9165-2a585f29ba5e"},{"name":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/list-products","id":"85ae4400-64be-4a4b-81aa-e451da2f052a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n\"integration\": {\n    \"page\" : 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/fatture-in-cloud/list-products","urlObject":{"path":["wp-json","api","v2","fatture-in-cloud","list-products"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"85ae4400-64be-4a4b-81aa-e451da2f052a"}],"id":"1bac62d9-9e5f-4d56-bb0b-13d8e59fb288","description":"<h2 id=\"create-invoice-on-fatture-in-cloud\">Create Invoice on Fatture in Cloud</h2>\n<p><strong>Endpoint:</strong><br /><code>POST {{base_url}}/wp-json/api/v2/create-xml</code></p>\n<p><strong>Purpose:</strong></p>\n<p>This endpoint is used to create a new invoice directly in <strong>Fatture in Cloud</strong>, using the same unified structure adopted for other integrations.</p>\n<h3 id=\"🔐-authentication\">🔐 Authentication</h3>\n<p>All requests require the inclusion of a valid <code>license_key</code> in the main payload.</p>\n<hr />\n<h3 id=\"📦-payload-structure\">📦 Payload Structure</h3>\n<p>In addition to the standard payload for creating an invoice (as defined for the SDI integration), you must include the <code>integration</code> section to indicate that the document should be created in <strong>Fatture in Cloud</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"your_license_key\",\n  \"data\": { ... },\n  \"integration\": {\n    \"use\": \"fatture-in-cloud\",\n    \"action\": \"create\",\n    \"receipts\": false,\n    \"client\": false\n  }\n}\n\n</code></pre>\n<h3 id=\"✅-success-response\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"message_document\": \"Issued Document created successfully!\",\n  \"message_client\": \"\",\n  \"response_document\": {\n    \"data\": {\n      // Fatture in Cloud invoice data\n    }\n  },\n  \"response_client\": false,\n  \"document_id\": 445003831,\n  \"document_number\": 1,\n  \"document_url\": \"https://compute.fattureincloud.it/doc/8cmurbqunlii53gbpdjwg3tdv08il622.pdf\",\n  \"code\": 200,\n  \"success\": true\n}\n\n</code></pre>\n<h3 id=\"response-fields\">Response Fields</h3>\n<ul>\n<li><p><code>integration</code>: The name of the integration used, e.g., <code>\"Fatture in cloud\"</code>.</p>\n</li>\n<li><p><code>message_document</code>: Human-readable message confirming the document was created.</p>\n</li>\n<li><p><code>message_client</code>: Human-readable message about client creation (empty if not applicable).</p>\n</li>\n<li><p><code>response_document</code>: Raw API response from Fatture in Cloud for the document creation.</p>\n</li>\n<li><p><code>response_document.data</code>: Contains the detailed invoice data returned by Fatture in Cloud.</p>\n</li>\n<li><p><code>response_client</code>: Client creation response object, or <code>false</code> if not created/sent.</p>\n</li>\n<li><p><code>document_id</code>: The unique ID of the created document in Fatture in Cloud.</p>\n</li>\n<li><p><code>document_number</code>: The progressive invoice number assigned by Fatture in Cloud.</p>\n</li>\n<li><p><code>document_url</code>: URL to the generated PDF document.</p>\n</li>\n<li><p><code>code</code>: HTTP status code returned by the API (should be <code>200</code> on success).</p>\n</li>\n<li><p><code>success</code>: Boolean flag indicating the success of the operation.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"delete-a-document-fatture-in-cloud\">Delete a Document (Fatture in Cloud)</h2>\n<p><strong>Endpoint</strong><br /><code>POST {{base_url}}/wp-json/api/v2/fatture-in-cloud/document-delete</code></p>\n<p><strong>Description</strong></p>\n<p>This endpoint deletes a previously created document (invoice) from the Fatture in Cloud platform using its unique ID.</p>\n<hr />\n<h3 id=\"🔸-request-payload\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"document_id\": 442338012\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>: Your POP license key.</p>\n</li>\n<li><p><code>integration.document_id</code>: The unique ID of the document<br />  to be deleted on Fatture in Cloud.</p>\n</li>\n</ul>\n<h3 id=\"✅-success-response-1\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"message\": \"Document ID 445008626 successfully deleted\",\n  \"document_id\": 445008626,\n  \"code\": 200\n}\n\n</code></pre>\n<h4 id=\"response-fields-1\">Response Fields</h4>\n<ul>\n<li><p><code>integration</code>: The name of the integration used, e.g., <code>\"Fatture in cloud\"</code>.</p>\n</li>\n<li><p><code>message</code>: A message confirming that the document was successfully deleted.</p>\n</li>\n<li><p><code>document_id</code>: The ID of the deleted document.</p>\n</li>\n<li><p><code>code</code>: HTTP status code <code>200</code> (OK).</p>\n</li>\n</ul>\n<h3 id=\"❌-error-response\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"title\": \"Oops, something is wrong!\",\n  \"type\": \"Exception when calling deleteInvoice\",\n  \"message\": \"Resource not found.\",\n  \"error_response\": {\n    \"error\": {\n      \"message\": \"Resource not found.\"\n    }\n  },\n  \"code\": 404\n}\n\n</code></pre>\n<h4 id=\"error-response-fields\">Error Response Fields</h4>\n<ul>\n<li><p><code>integration</code>: The name of the integration used.</p>\n</li>\n<li><p><code>title</code>: General title indicating an issue occurred.</p>\n</li>\n<li><p><code>type</code>: Type or source of the error, typically pointing to the internal function or API call.</p>\n</li>\n<li><p><code>message</code>: A descriptive message of the error encountered.</p>\n</li>\n<li><p><code>error_response.error.message</code>: A detailed message from Fatture in Cloud API (e.g., <code>\"Resource not found.\"</code>).</p>\n</li>\n<li><p><code>code</code>: HTTP status code, e.g., <code>404</code> for not found.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"verify-document-fatture-in-cloud\">Verify Document (Fatture in Cloud)</h3>\n<p><strong>Endpoint</strong><br /><code>POST {{base_url}}/wp-json/api/v2/fatture-in-cloud/document-verify</code></p>\n<p><strong>Description</strong></p>\n<p>This endpoint requests a formal verification of a previously created invoice on Fatture in Cloud. It checks if the document data are formally correct.</p>\n<h3 id=\"🔸-request-payload-1\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"document_id\": 442319477\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters-1\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>: Your POP license key.</p>\n</li>\n<li><p><code>integration.document_id</code>: The unique ID of the document (invoice) to verify.</p>\n</li>\n</ul>\n<h3 id=\"✅-success-response-2\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"message\": \"The data in the document are formally correct.\",\n  \"document_id\": 438153199,\n  \"code\": 200\n}\n\n</code></pre>\n<h3 id=\"❌-error-response-1\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"title\": \"Oops, something is wrong!\",\n  \"type\": \"Exception when calling verifyInvoice\",\n  \"message\": \"The document does not exist.\",\n  \"error_response\": {\n    \"error\": {\n      \"message\": \"The document does not exist.\"\n    }\n  },\n  \"code\": 404\n}\n\n</code></pre>\n<h4 id=\"response-fields-2\">Response Fields</h4>\n<ul>\n<li><p><code>integration</code>: The name of the integration.</p>\n</li>\n<li><p><code>title</code>: General error title.</p>\n</li>\n<li><p><code>type</code>: Source or type of the exception.</p>\n</li>\n<li><p><code>message</code>: Description of the error (e.g., document not found).</p>\n</li>\n<li><p><code>error_response.error.message</code>: Detailed error message from the API.</p>\n</li>\n<li><p><code>code</code>: HTTP status code (e.g., 404).</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"send-document-to-sdi-fatture-in-cloud\">Send Document to SDI (Fatture in Cloud)</h3>\n<p><strong>Endpoint</strong><br /><code>POST {{base_url}}/wp-json/api/v2/fatture-in-cloud/document-send</code></p>\n<p><strong>Description</strong></p>\n<p>This endpoint is used to send the created invoice document to the Italian SDI (Sistema di Interscambio) for electronic invoicing.</p>\n<h3 id=\"🔸-request-payload-2\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"document_id\": 123456789\n  }\n}\n\n</code></pre>\n<h3 id=\"✅-success-response-3\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"message\": \"Invoices taken over for sending to the SDI\",\n  \"document_id\": 438153199,\n  \"code\": 200\n}\n\n</code></pre>\n<h4 id=\"response-fields-3\">Response Fields</h4>\n<ul>\n<li><p><code>integration</code>: Integration name (<code>Fatture in cloud</code>).</p>\n</li>\n<li><p><code>message</code>: Confirmation message indicating the invoice was accepted for sending.</p>\n</li>\n<li><p><code>document_id</code>: The ID of the document sent.</p>\n</li>\n<li><p><code>code</code>: HTTP status code <code>200</code> (OK).</p>\n</li>\n</ul>\n<h3 id=\"❌-error-response-2\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"title\": \"Oops, something is wrong!\",\n  \"type\": \"Exception when calling sendInvoice\",\n  \"message\": \"The document does not exist.\",\n  \"error_response\": {\n    \"error\": {\n      \"message\": \"The document does not exist.\"\n    }\n  },\n  \"code\": 404\n}\n\n</code></pre>\n<h4 id=\"error-response-fields-1\">Error Response Fields</h4>\n<ul>\n<li><p><code>integration</code>: Integration name.</p>\n</li>\n<li><p><code>title</code>: Error title.</p>\n</li>\n<li><p><code>type</code>: Exception type or source.</p>\n</li>\n<li><p><code>message</code>: Error message (e.g., document not found).</p>\n</li>\n<li><p><code>error_response.error.message</code>: Detailed API error message.</p>\n</li>\n<li><p><code>code</code>: HTTP status code (e.g., 404).</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"list-products-fatture-in-cloud\">List Products (Fatture in Cloud)</h3>\n<p><strong>Endpoint</strong><br /><code>POST {{base_url}}/wp-json/api/v2/fatture-in-cloud/list-products</code></p>\n<p><strong>Description</strong></p>\n<p>Retrieve the list of products available in Fatture in Cloud.</p>\n<h3 id=\"🔸-request-payload-3\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"page\": 1\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters-2\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>: Your POP license key.</p>\n</li>\n<li><p><code>integration.page</code>: (Optional) Page number for paginated product list.</p>\n</li>\n</ul>\n<h3 id=\"✅-success-response-4\">✅ Success Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"Fatture in cloud\",\n  \"data\": [\n    {\n      \"id\": 25699088,\n      \"name\": \"Product name...\"\n      // other product fields\n    },\n    {\n      // other products\n    }\n  ],\n  \"code\": 200\n}\n\n</code></pre>\n<h3 id=\"response-fields-4\">Response Fields</h3>\n<ul>\n<li><p><code>integration</code>: Integration name (<code>Fatture in cloud</code>).</p>\n</li>\n<li><p><code>data</code>: Array of product objects.</p>\n<ul>\n<li><p><code>data[].id</code>: Product unique identifier.</p>\n</li>\n<li><p><code>data[].name</code>: Product name.</p>\n</li>\n<li><p><em>(Additional product fields may be present but are not listed here.)</em></p>\n</li>\n</ul>\n</li>\n<li><p><code>code</code>: HTTP status code (200 = success).</p>\n</li>\n</ul>\n","_postman_id":"1bac62d9-9e5f-4d56-bb0b-13d8e59fb288"},{"name":"SDI via POP","item":[{"name":"{{base_url}}/wp-json/api/v2/create-xml","id":"ce2d4903-708a-4fbc-86a8-68a0fb39ae02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":" {\n    \"license_key\": \"25f3e8691c731d57e09eff778b80449b2f1ece79\",\n    \"plugin_version\": \"6.0.0\",\n    \"site_title\": \"Demo Store\",\n    \"site_url\": \"https://example.com\",\n    \"user_agent\": \"wordpress\",\n    \"user_agent_version\": \"6.8.0\",\n    \"data\": {\n      \"id\": 1001,\n      \"filename\": \"INV-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"ABC1234\",\n      \"customer_type\": \"company\",\n      \"nature\": \"\",\n      \"ref_normative\": \"\",\n      \"vies\": false,\n      \"vat_kind\": \"I\",\n      \"transmitter_data\": {\n        \"transmitter_id\": {\n          \"country_id\": \"IT\",\n          \"id_code\": \"01879020517\"\n        },\n        \"progressive\": \"00001\",\n        \"transmitter_format\": \"FPR12\",\n        \"sdi_code\": \"ABC1234\",\n        \"transmitter_contact\": {\n          \"phone\": \"+39061234567\",\n          \"email\": \"amministrazione@example.com\"\n        },\n        \"recipient_pec\": \"\"\n      },\n      \"transfer_lender\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"IT\",\n            \"id_code\": \"01879020517\",\n            \"tax_regime\": \"RF01\"\n          },\n          \"company_name\": \"POP Demo SRL\"\n        },\n        \"place\": {\n          \"address\": \"Via Roma 1\",\n          \"zip_code\": \"00100\",\n          \"city\": \"Roma\",\n          \"province_id\": \"RM\",\n          \"country_id\": \"IT\"\n        },\n        \"rea_registration\": {\n          \"office\": \"RM\",\n          \"number\": \"123456\",\n          \"liquidation_status\": \"LN\"\n        },\n        \"contact\": {\n          \"phone\": \"+39061234567\",\n          \"email\": \"amministrazione@example.com\"\n        }\n      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"IT\",\n            \"id_code\": \"12345678901\"\n          },\n          \"tax_id_code\": \"RSSMRA80A01H501U\",\n          \"company_name\": \"Cliente Test SRL\",\n          \"first_name\": \"Mario\",\n          \"last_name\": \"Rossi\",\n          \"email\": \"cliente@example.com\"\n        },\n        \"place\": {\n          \"address\": \"Via Milano 10\",\n          \"zip_code\": \"20100\",\n          \"city\": \"Milano\",\n          \"province_id\": \"MI\",\n          \"country_id\": \"IT\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"2026/0001\"\n        },\n        \"provident_fund\": {},\n        \"total_document_amount\": \"122.00\"\n      },\n      \"purchase_order_data\": {\n        \"id\": \"#1001\",\n        \"date\": \"2026-03-04\"\n      },\n      \"connected_invoice_data\": {},\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"PROD-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Servizio consulenza\",\n          \"quantity\": \"1.00\",\n          \"unit\": \"N.\",\n          \"discount_type\": \"\",\n          \"discount_percent\": \"\",\n          \"discount_amount\": \"\",\n          \"unit_price\": \"100.00\",\n          \"total_price\": \"100.00\",\n          \"rate\": \"22.00\",\n          \"total_tax\": \"22.00\"\n        }\n      ],\n      \"payment_data\": {\n        \"terms_payment\": \"TP02\",\n        \"payment_amount\": \"122.00\",\n        \"payment_details\": \"MP05\",\n        \"beneficiary\": \"POP Demo SRL\",\n        \"financial_institution\": \"Demo Bank\",\n        \"iban\": \"IT60X0542811101000000123456\"\n      },\n      \"overrides\": {\n        \"bollo_force_apply\": false,\n        \"language\": \"IT\"\n      }\n    }\n  }\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-xml","urlObject":{"path":["wp-json","api","v2","create-xml"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ee7eba2e-c037-4031-9229-d5b2bf4f98a8","name":"{{base_url}}/wp-json/api/v2/create-xml","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":" {\n    \"license_key\": \"25f3e8691c731d57e09eff778b80449b2f1ece79\",\n    \"plugin_version\": \"6.0.0\",\n    \"site_title\": \"Demo Store\",\n    \"site_url\": \"https://example.com\",\n    \"user_agent\": \"wordpress\",\n    \"user_agent_version\": \"6.8.0\",\n    \"data\": {\n      \"id\": 1001,\n      \"filename\": \"INV-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"ABC1234\",\n      \"customer_type\": \"company\",\n      \"nature\": \"\",\n      \"ref_normative\": \"\",\n      \"vies\": false,\n      \"vat_kind\": \"I\",\n      \"transmitter_data\": {\n        \"transmitter_id\": {\n          \"country_id\": \"IT\",\n          \"id_code\": \"01879020517\"\n        },\n        \"progressive\": \"00001\",\n        \"transmitter_format\": \"FPR12\",\n        \"sdi_code\": \"ABC1234\",\n        \"transmitter_contact\": {\n          \"phone\": \"+39061234567\",\n          \"email\": \"amministrazione@example.com\"\n        },\n        \"recipient_pec\": \"\"\n      },\n      \"transfer_lender\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"IT\",\n            \"id_code\": \"01879020517\",\n            \"tax_regime\": \"RF01\"\n          },\n          \"company_name\": \"POP Demo SRL\"\n        },\n        \"place\": {\n          \"address\": \"Via Roma 1\",\n          \"zip_code\": \"00100\",\n          \"city\": \"Roma\",\n          \"province_id\": \"RM\",\n          \"country_id\": \"IT\"\n        },\n        \"rea_registration\": {\n          \"office\": \"RM\",\n          \"number\": \"123456\",\n          \"liquidation_status\": \"LN\"\n        },\n        \"contact\": {\n          \"phone\": \"+39061234567\",\n          \"email\": \"amministrazione@example.com\"\n        }\n      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"IT\",\n            \"id_code\": \"12345678901\"\n          },\n          \"tax_id_code\": \"RSSMRA80A01H501U\",\n          \"company_name\": \"Cliente Test SRL\",\n          \"first_name\": \"Mario\",\n          \"last_name\": \"Rossi\",\n          \"email\": \"cliente@example.com\"\n        },\n        \"place\": {\n          \"address\": \"Via Milano 10\",\n          \"zip_code\": \"20100\",\n          \"city\": \"Milano\",\n          \"province_id\": \"MI\",\n          \"country_id\": \"IT\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"2026/0001\"\n        },\n        \"provident_fund\": {},\n        \"total_document_amount\": \"122.00\"\n      },\n      \"purchase_order_data\": {\n        \"id\": \"#1001\",\n        \"date\": \"2026-03-04\"\n      },\n      \"connected_invoice_data\": {},\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"PROD-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Servizio consulenza\",\n          \"quantity\": \"1.00\",\n          \"unit\": \"N.\",\n          \"discount_type\": \"\",\n          \"discount_percent\": \"\",\n          \"discount_amount\": \"\",\n          \"unit_price\": \"100.00\",\n          \"total_price\": \"100.00\",\n          \"rate\": \"22.00\",\n          \"total_tax\": \"22.00\"\n        }\n      ],\n      \"payment_data\": {\n        \"terms_payment\": \"TP02\",\n        \"payment_amount\": \"122.00\",\n        \"payment_details\": \"MP05\",\n        \"beneficiary\": \"POP Demo SRL\",\n        \"financial_institution\": \"Demo Bank\",\n        \"iban\": \"IT60X0542811101000000123456\"\n      },\n      \"overrides\": {\n        \"bollo_force_apply\": false,\n        \"language\": \"IT\"\n      }\n    }\n  }\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-xml"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"server","value":"nginx"},{"key":"date","value":"Wed, 04 Mar 2026 10:47:10 GMT"},{"key":"content-type","value":"application/json; charset=UTF-8"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-robots-tag","value":"noindex"},{"key":"link","value":"<https://staging7.popapi.io/wp-json/>; rel=\"https://api.w.org/\""},{"key":"access-control-expose-headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"access-control-allow-headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"x-content-type-options","value":"nosniff"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, OPTIONS"},{"key":"access-control-allow-credentials","value":"true"},{"key":"x-httpd","value":"1"},{"key":"host-header","value":"8441280b0c35cbc1147f8ba998a563a7"},{"key":"x-proxy-cache-info","value":"DT:1"},{"key":"content-encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<p:FatturaElettronica versione=\"FPR12\" xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#e\" xmlns:p=\"http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2 http://www.fatturapa.gov.it/export/documenti/fatturapa/v1.2.2/Schema_del_file_xml_FatturaPA_v1.2.2.xsd\"><FatturaElettronicaHeader><DatiTrasmissione><IdTrasmittente><IdPaese>IT</IdPaese><IdCodice>01879020517</IdCodice></IdTrasmittente><ProgressivoInvio>ada573c56d</ProgressivoInvio><FormatoTrasmissione>FPR12</FormatoTrasmissione><CodiceDestinatario>ABC1234</CodiceDestinatario><ContattiTrasmittente><Email>alfio@babinimazzari.com</Email></ContattiTrasmittente></DatiTrasmissione><CedentePrestatore><DatiAnagrafici><IdFiscaleIVA><IdPaese>IT</IdPaese><IdCodice>01879020517</IdCodice></IdFiscaleIVA><Anagrafica><Denominazione>AP srl</Denominazione></Anagrafica><RegimeFiscale>RF01</RegimeFiscale></DatiAnagrafici><Sede><Indirizzo>Via Roma 1</Indirizzo><CAP>00100</CAP><Comune>Roma</Comune><Provincia>RM</Provincia><Nazione>IT</Nazione></Sede><Contatti><Telefono>061234567</Telefono><Email>amministrazione@example.com</Email></Contatti></CedentePrestatore><CessionarioCommittente><DatiAnagrafici><IdFiscaleIVA><IdPaese>IT</IdPaese><IdCodice>12345678901</IdCodice></IdFiscaleIVA><CodiceFiscale>RSSMRA80A01H501U</CodiceFiscale><Anagrafica><Denominazione>Cliente Test SRL</Denominazione></Anagrafica></DatiAnagrafici><Sede><Indirizzo>Via Milano 10</Indirizzo><CAP>20100</CAP><Comune>Milano</Comune><Provincia>MI</Provincia><Nazione>IT</Nazione></Sede></CessionarioCommittente></FatturaElettronicaHeader><FatturaElettronicaBody><DatiGenerali><DatiGeneraliDocumento><TipoDocumento>TD01</TipoDocumento><Divisa>EUR</Divisa><Data>2026-03-04</Data><Numero>2026/0001</Numero><ImportoTotaleDocumento>122.00</ImportoTotaleDocumento></DatiGeneraliDocumento><DatiOrdineAcquisto><IdDocumento>#1001</IdDocumento><Data>2026-03-04</Data></DatiOrdineAcquisto></DatiGenerali><DatiBeniServizi><DettaglioLinee><NumeroLinea>1</NumeroLinea><CodiceArticolo><CodiceTipo>SKU</CodiceTipo><CodiceValore>PROD-001</CodiceValore></CodiceArticolo><Descrizione>Servizio consulenza</Descrizione><Quantita>1.00</Quantita><UnitaMisura>N.</UnitaMisura><PrezzoUnitario>100.00</PrezzoUnitario><PrezzoTotale>100.00</PrezzoTotale><AliquotaIVA>22.00</AliquotaIVA></DettaglioLinee><DatiRiepilogo><AliquotaIVA>22.00</AliquotaIVA><Arrotondamento>0.00</Arrotondamento><ImponibileImporto>100.00</ImponibileImporto><Imposta>22.00</Imposta><EsigibilitaIVA>I</EsigibilitaIVA></DatiRiepilogo></DatiBeniServizi><DatiPagamento><CondizioniPagamento>TP02</CondizioniPagamento><DettaglioPagamento><Beneficiario>POP Demo SRL</Beneficiario><ModalitaPagamento>MP05</ModalitaPagamento><ImportoPagamento>122.00</ImportoPagamento><IstitutoFinanziario>Demo Bank</IstitutoFinanziario><IBAN>IT60X0542811101000000123456</IBAN></DettaglioPagamento></DatiPagamento></FatturaElettronicaBody></p:FatturaElettronica>"}],"_postman_id":"ce2d4903-708a-4fbc-86a8-68a0fb39ae02"},{"name":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-verify","id":"f953b2d7-df1c-4546-94f6-c97d7294a1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n      \"integration\": {\n        \"xml\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHA6RmF0dHVyYUVsZXR0cm9uaWNhIHZlcnNpb25lPSJGUFIxMiIgeG1sbnM6ZHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNlIiB4bWxuczpwPSJodHRwOi8vaXZhc2Vydml6aS5hZ2VuemlhZW50cmF0ZS5nb3YuaXQvZG9jcy94c2QvZmF0dHVyZS92MS4yIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6c2NoZW1hTG9jYXRpb249Imh0dHA6Ly9pdmFzZXJ2aXppLmFnZW56aWFlbnRyYXRlLmdvdi5pdC9kb2NzL3hzZC9mYXR0dXJlL3YxLjIgaHR0cDovL3d3dy5mYXR0dXJhcGEuZ292Lml0L2V4cG9ydC9kb2N1bWVudGkvZmF0dHVyYXBhL3YxLjIuMS9TY2hlbWFfZGVsX2ZpbGVfeG1sX0ZhdHR1cmFQQV92ZXJzaW9uZV8xLjIueHNkIj4KICAgIDxGYXR0dXJhRWxldHRyb25pY2FIZWFkZXI+CiAgICAgICAgPERhdGlUcmFzbWlzc2lvbmU+CiAgICAgICAgICAgIDxJZFRyYXNtaXR0ZW50ZT4KICAgICAgICAgICAgICAgIDxJZFBhZXNlPklUPC9JZFBhZXNlPgogICAgICAgICAgICAgICAgPElkQ29kaWNlPjMzMzMzMzMzMzMzPC9JZENvZGljZT4KICAgICAgICAgICAgPC9JZFRyYXNtaXR0ZW50ZT4KICAgICAgICAgICAgPFByb2dyZXNzaXZvSW52aW8+YTM0Zjk3ZjUzYTwvUHJvZ3Jlc3Npdm9JbnZpbz4KICAgICAgICAgICAgPEZvcm1hdG9UcmFzbWlzc2lvbmU+RlBSMTI8L0Zvcm1hdG9UcmFzbWlzc2lvbmU+CiAgICAgICAgICAgIDxDb2RpY2VEZXN0aW5hdGFyaW8+TTVVWENSMTwvQ29kaWNlRGVzdGluYXRhcmlvPgogICAgICAgIDwvRGF0aVRyYXNtaXNzaW9uZT4KICAgICAgICA8Q2VkZW50ZVByZXN0YXRvcmU+CiAgICAgICAgICAgIDxEYXRpQW5hZ3JhZmljaT4KICAgICAgICAgICAgICAgIDxJZEZpc2NhbGVJVkE+CiAgICAgICAgICAgICAgICAgICAgPElkUGFlc2U+SVQ8L0lkUGFlc2U+CiAgICAgICAgICAgICAgICAgICAgPElkQ29kaWNlPjMzMzMzMzMzMzMzPC9JZENvZGljZT4KICAgICAgICAgICAgICAgIDwvSWRGaXNjYWxlSVZBPgogICAgICAgICAgICAgICAgPEFuYWdyYWZpY2E+CiAgICAgICAgICAgICAgICAgICAgPERlbm9taW5hemlvbmU+VEVTVFdJWkFSRDwvRGVub21pbmF6aW9uZT4KICAgICAgICAgICAgICAgIDwvQW5hZ3JhZmljYT4KICAgICAgICAgICAgICAgIDxSZWdpbWVGaXNjYWxlPlJGMDE8L1JlZ2ltZUZpc2NhbGU+CiAgICAgICAgICAgIDwvRGF0aUFuYWdyYWZpY2k+CiAgICAgICAgICAgIDxTZWRlPgogICAgICAgICAgICAgICAgPEluZGlyaXp6bz5WaWEgQmFyYWNjYSAyMTwvSW5kaXJpenpvPgogICAgICAgICAgICAgICAgPENBUD40ODAyMjwvQ0FQPgogICAgICAgICAgICAgICAgPENvbXVuZT5MdWdvPC9Db211bmU+CiAgICAgICAgICAgICAgICA8UHJvdmluY2lhPlJBPC9Qcm92aW5jaWE+CiAgICAgICAgICAgICAgICA8TmF6aW9uZT5JVDwvTmF6aW9uZT4KICAgICAgICAgICAgPC9TZWRlPgogICAgICAgIDwvQ2VkZW50ZVByZXN0YXRvcmU+CiAgICAgICAgPENlc3Npb25hcmlvQ29tbWl0dGVudGU+CiAgICAgICAgICAgIDxEYXRpQW5hZ3JhZmljaT4KICAgICAgICAgICAgICAgIDxJZEZpc2NhbGVJVkE+CiAgICAgICAgICAgICAgICAgICAgPElkUGFlc2U+SVQ8L0lkUGFlc2U+CiAgICAgICAgICAgICAgICAgICAgPElkQ29kaWNlPjAxODc1NDkwODk2PC9JZENvZGljZT4KICAgICAgICAgICAgICAgIDwvSWRGaXNjYWxlSVZBPgogICAgICAgICAgICAgICAgPENvZGljZUZpc2NhbGU+UENDTEZBNzVMMDRBNDk0UzwvQ29kaWNlRmlzY2FsZT4KICAgICAgICAgICAgICAgIDxBbmFncmFmaWNhPgogICAgICAgICAgICAgICAgICAgIDxOb21lPkFsZmlvIFRFU1Q8L05vbWU+CiAgICAgICAgICAgICAgICAgICAgPENvZ25vbWU+UGljY2lvbmUgVEVTVDwvQ29nbm9tZT4KICAgICAgICAgICAgICAgIDwvQW5hZ3JhZmljYT4KICAgICAgICAgICAgPC9EYXRpQW5hZ3JhZmljaT4KICAgICAgICAgICAgPFNlZGU+CiAgICAgICAgICAgICAgICA8SW5kaXJpenpvPlZpYSB4eHgsIDEyMzwvSW5kaXJpenpvPgogICAgICAgICAgICAgICAgPENBUD45NTEwMDwvQ0FQPgogICAgICAgICAgICAgICAgPENvbXVuZT5DYXRhbmlhPC9Db211bmU+CiAgICAgICAgICAgICAgICA8UHJvdmluY2lhPkNUPC9Qcm92aW5jaWE+CiAgICAgICAgICAgICAgICA8TmF6aW9uZT5JVDwvTmF6aW9uZT4KICAgICAgICAgICAgPC9TZWRlPgogICAgICAgIDwvQ2Vzc2lvbmFyaW9Db21taXR0ZW50ZT4KICAgIDwvRmF0dHVyYUVsZXR0cm9uaWNhSGVhZGVyPgogICAgPEZhdHR1cmFFbGV0dHJvbmljYUJvZHk+CiAgICAgICAgPERhdGlHZW5lcmFsaT4KICAgICAgICAgICAgPERhdGlHZW5lcmFsaURvY3VtZW50bz4KICAgICAgICAgICAgICAgIDxUaXBvRG9jdW1lbnRvPlREMDQ8L1RpcG9Eb2N1bWVudG8+CiAgICAgICAgICAgICAgICA8RGl2aXNhPkVVUjwvRGl2aXNhPgogICAgICAgICAgICAgICAgPERhdGE+MjAyNS0wMy0yNzwvRGF0YT4KICAgICAgICAgICAgICAgIDxOdW1lcm8+MDI1LzIwMjU8L051bWVybz4KICAgICAgICAgICAgICAgIDxJbXBvcnRvVG90YWxlRG9jdW1lbnRvPjM5LjYwPC9JbXBvcnRvVG90YWxlRG9jdW1lbnRvPgogICAgICAgICAgICA8L0RhdGlHZW5lcmFsaURvY3VtZW50bz4KICAgICAgICAgICAgPERhdGlGYXR0dXJlQ29sbGVnYXRlPgogICAgICAgICAgICAgICAgPElkRG9jdW1lbnRvPklOVjAyNC8yMDI1PC9JZERvY3VtZW50bz4KICAgICAgICAgICAgICAgIDxEYXRhPjIwMjUtMDMtMjc8L0RhdGE+CiAgICAgICAgICAgIDwvRGF0aUZhdHR1cmVDb2xsZWdhdGU+CiAgICAgICAgPC9EYXRpR2VuZXJhbGk+CiAgICAgICAgPERhdGlCZW5pU2Vydml6aT4KICAgICAgICAgICAgPERldHRhZ2xpb0xpbmVlPgogICAgICAgICAgICAgICAgPE51bWVyb0xpbmVhPjE8L051bWVyb0xpbmVhPgogICAgICAgICAgICAgICAgPENvZGljZUFydGljb2xvPgogICAgICAgICAgICAgICAgICAgIDxDb2RpY2VUaXBvPklOVEVSTk88L0NvZGljZVRpcG8+CiAgICAgICAgICAgICAgICAgICAgPENvZGljZVZhbG9yZT4yMTM1PC9Db2RpY2VWYWxvcmU+CiAgICAgICAgICAgICAgICA8L0NvZGljZUFydGljb2xvPgogICAgICAgICAgICAgICAgPERlc2NyaXppb25lPlJpbWJvcnNvOiBCZWFuaWUgd2l0aCBMb2dvIChJVkEgMTApPC9EZXNjcml6aW9uZT4KICAgICAgICAgICAgICAgIDxRdWFudGl0YT4yLjAwPC9RdWFudGl0YT4KICAgICAgICAgICAgICAgIDxVbml0YU1pc3VyYT5OLjwvVW5pdGFNaXN1cmE+CiAgICAgICAgICAgICAgICA8UHJlenpvVW5pdGFyaW8+MTguMDA8L1ByZXp6b1VuaXRhcmlvPgogICAgICAgICAgICAgICAgPFByZXp6b1RvdGFsZT4zNi4wMDwvUHJlenpvVG90YWxlPgogICAgICAgICAgICAgICAgPEFsaXF1b3RhSVZBPjEwLjAwPC9BbGlxdW90YUlWQT4KICAgICAgICAgICAgPC9EZXR0YWdsaW9MaW5lZT4KICAgICAgICAgICAgPERhdGlSaWVwaWxvZ28+CiAgICAgICAgICAgICAgICA8QWxpcXVvdGFJVkE+MTAuMDA8L0FsaXF1b3RhSVZBPgogICAgICAgICAgICAgICAgPEFycm90b25kYW1lbnRvPjAuMDA8L0Fycm90b25kYW1lbnRvPgogICAgICAgICAgICAgICAgPEltcG9uaWJpbGVJbXBvcnRvPjM2LjAwPC9JbXBvbmliaWxlSW1wb3J0bz4KICAgICAgICAgICAgICAgIDxJbXBvc3RhPjMuNjA8L0ltcG9zdGE+CiAgICAgICAgICAgIDwvRGF0aVJpZXBpbG9nbz4KICAgICAgICA8L0RhdGlCZW5pU2Vydml6aT4KICAgICAgICA8RGF0aVBhZ2FtZW50bz4KICAgICAgICAgICAgPENvbmRpemlvbmlQYWdhbWVudG8+VFAwMjwvQ29uZGl6aW9uaVBhZ2FtZW50bz4KICAgICAgICAgICAgPERldHRhZ2xpb1BhZ2FtZW50bz4KICAgICAgICAgICAgICAgIDxCZW5lZmljaWFyaW8+TUFSSU8gUk9TU0k8L0JlbmVmaWNpYXJpbz4KICAgICAgICAgICAgICAgIDxNb2RhbGl0YVBhZ2FtZW50bz5NUDA1PC9Nb2RhbGl0YVBhZ2FtZW50bz4KICAgICAgICAgICAgICAgIDxJbXBvcnRvUGFnYW1lbnRvPjM5LjYwPC9JbXBvcnRvUGFnYW1lbnRvPgogICAgICAgICAgICAgICAgPElCQU4+R0IzM0JVS0IyMDIwMTU1NTU1NTU1NTwvSUJBTj4KICAgICAgICAgICAgPC9EZXR0YWdsaW9QYWdhbWVudG8+CiAgICAgICAgPC9EYXRpUGFnYW1lbnRvPgogICAgPC9GYXR0dXJhRWxldHRyb25pY2FCb2R5Pgo8L3A6RmF0dHVyYUVsZXR0cm9uaWNhPg==\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-verify","urlObject":{"path":["wp-json","api","v2","sdi-via-pop","document-verify"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f953b2d7-df1c-4546-94f6-c97d7294a1fc"},{"name":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-preserve","id":"e7bd21cf-bf1d-4a6a-9ff7-e59be0184beb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n      \"integration\": {\n        \"uuid\": \"0196edf2-f2e2-7396-8812-5d6575c4fd0d\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-preserve","urlObject":{"path":["wp-json","api","v2","sdi-via-pop","document-preserve"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7bd21cf-bf1d-4a6a-9ff7-e59be0184beb"},{"name":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-notifications","id":"1e4e2236-c7e0-4ca0-afa2-d5cf1769d3ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n      \"integration\": {\n        \"uuid\": \"019744c6-6bbb-76b8-a905-ba8002692bce\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-notifications","urlObject":{"path":["wp-json","api","v2","sdi-via-pop","document-notifications"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e4e2236-c7e0-4ca0-afa2-d5cf1769d3ae"},{"name":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-get","id":"c646a58d-4c8c-4cd9-8af4-bf4e694430b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n    \"integration\": {\n        \"uuid\": \"019736a2-dcd1-7ad3-adad-30479425112b\",\n        \"draft\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/sdi-via-pop/document-get","urlObject":{"path":["wp-json","api","v2","sdi-via-pop","document-get"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c646a58d-4c8c-4cd9-8af4-bf4e694430b6"}],"id":"8d1691ab-e19e-41cf-9d0f-09c6424b7af4","description":"<p>Getting Started with the Electronic Invoicing API (SdI via POP)</p>\n<p>To start sending electronic invoices through the POP system (e.g. SdI for Italy), follow these steps:</p>\n<h4 id=\"1-create-a-pop-account\">1. Create a POP Account</h4>\n<p>First, sign up for a POP account with at least the <strong>Growth</strong> plan.</p>\n<h4 id=\"2-enable-sdi-integration\">2. Enable SdI Integration</h4>\n<p>Once your account is active, go to your <strong>User Area</strong> and open the <strong>Integrations</strong> panel.</p>\n<img src=\"https://content.pstmn.io/a6700907-a681-429f-a963-60f46a86c614/c2RpLXZpYS1wb3AtcGFuZWwuanBn\" />\n\n<ul>\n<li><p>Select the <strong>SdI via POP</strong> integration.</p>\n</li>\n<li><p>Enable your company for electronic invoicing and choose from the following optional features:</p>\n<ul>\n<li><p>✅ <strong>Apply digital signature before sending invoices to SdI</strong></p>\n</li>\n<li><p>✅ <strong>Apply legal storage for sent invoices</strong></p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"3-access-api-endpoints\">3. Access API Endpoints</h4>\n<p>Once your company is connected and the SdI integration is enabled, you are authorized to use the API endpoints for sending invoices.</p>\n<p>You can now proceed to authenticate and interact with the available endpoints described below.</p>\n<hr />\n<h2 id=\"using-sdi-via-pop-integration\">Using SDI via POP Integration</h2>\n<h3 id=\"🔐-authentication\">🔐 Authentication</h3>\n<p>All requests require the inclusion of a valid <code>license_key</code> in the main payload.</p>\n<hr />\n<h3 id=\"📦-payload-structure\">📦 Payload Structure</h3>\n<p>To create an invoice that will be managed and sent via SdI through POP integration, you need to include the following integration object in the payload using the<br /><code>{{base_url}}/wp-json/api/v2/create-xml</code> endpoint</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"your_license_key\",\n  \"data\": { ... },\n  \"integration\": {\n    \"use\": \"sdi-via-pop\",\n    \"action\": \"create\"\n  }\n}\n\n</code></pre>\n<p>This instructs the system to:</p>\n<ul>\n<li>Generate the XML invoice using the SdI integration.</li>\n</ul>\n<h3 id=\"✅-successful-response\">✅ Successful Response</h3>\n<p>When the invoice is successfully created using the SdI via POP integration, the API will return a JSON response like the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"integration\": \"SdI via POP\",\n    \"message\": \"Invoice created successfully!\",\n    \"data\": {\n        \"uuid\": \"0197200c-b922-78e2-99b6-1b4d40969ba8\"\n    },\n    \"code\": 201,\n    \"success\": true\n}\n\n</code></pre>\n<h4 id=\"response-fields\">Response Fields</h4>\n<ul>\n<li><p><strong>integration</strong>: The name of the integration used (<code>\"SdI via POP\"</code>).</p>\n</li>\n<li><p><strong>message</strong>: A human-readable message indicating the result of the operation.</p>\n</li>\n<li><p><strong>data.uuid</strong>: The unique identifier (UUID) of the created invoice.<br />  This ID must be used in subsequent requests.</p>\n</li>\n<li><p><strong>code</strong>: HTTP status code (202 indicates successful creation).</p>\n</li>\n<li><p><strong>success</strong>: Boolean value confirming the operation was successful.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"verify-invoice\">Verify Invoice</h2>\n<p><strong>Endpoint:</strong> <code>{{base_url}}/wp-json/api/v2/sdi-via-pop/document-verify</code><br /><strong>Method:</strong> <code>POST</code></p>\n<p>This endpoint allows you to <strong>verify the structure and content of an electronic invoice</strong> (in XML format) before submitting it to SdI.</p>\n<p>Use it to validate the Base64-encoded XML against compliance rules and technical specifications.</p>\n<hr />\n<h3 id=\"🔸-request-payload\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"xml\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHA6Rm...\"\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>:<br />  Your POP license key used for authentication.</p>\n</li>\n<li><p><strong>integration.uuid</strong> <em>(string, required)</em>:<br />  The UUID of the document to be verified.</p>\n</li>\n<li><p><strong>integration.xml</strong> <em>(string, required)</em>:<br />  The invoice content in Base64-encoded XML format.</p>\n</li>\n</ul>\n<h3 id=\"✅-successful-response-1\">✅ Successful Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"SdI via POP\",\n  \"message\": \"Invoice verification successfully!\",\n  \"data\": [],\n  \"code\": 200,\n  \"success\": true\n}\n\n</code></pre>\n<h4 id=\"response-fields-1\">Response Fields</h4>\n<ul>\n<li><p>message: Confirmation that the invoice was verified successfully.</p>\n</li>\n<li><p>data: Empty array if no issues were found.</p>\n</li>\n<li><p>code: HTTP status code 200.</p>\n</li>\n<li><p>success: true indicates that the verification passed.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"send-invoice-to-legal-archive\">Send Invoice to Legal Archive</h2>\n<p><strong>Endpoint:</strong> <code>{{base_url}}/wp-json/api/v2/sdi-via-pop/document-preserve</code><br /><strong>Method:</strong> <code>POST</code></p>\n<p>This endpoint is used to <strong>send an invoice to the legal preservation system</strong> (archivio legale).</p>\n<p>The invoice must be eligible for preservation — if not, a <code>400 Bad Request</code> error will be returned.</p>\n<h3 id=\"📌-important-notes\">📌 Important Notes</h3>\n<ul>\n<li><p>An invoice is considered <strong>eligible for preservation</strong> when:</p>\n<ul>\n<li><p>It has been successfully submitted to SdI.</p>\n</li>\n<li><p>For B2B invoices, an <strong>RC (Ricevuta di Consegna)</strong> or <strong>MC (Mancata Consegna)</strong> notification has been received.</p>\n</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h3 id=\"🔸-request-payload-1\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"uuid\": \"01971277-c9d9-76c9-ad53-e640bbdffb8e\"\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters-1\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>:<br />  Your POP license key.</p>\n</li>\n<li><p><strong>integration.uuid</strong> <em>(string, required)</em>:<br />  The UUID of the invoice to be preserved.</p>\n</li>\n</ul>\n<h3 id=\"✅-successful-response-2\">✅ Successful Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"SdI via POP\",\n  \"message\": \"Invoice sent to legal archive successfully!\",\n  \"code\": 200,\n  \"success\": true\n}\n\n</code></pre>\n<h4 id=\"response-fields-2\">Response Fields</h4>\n<ul>\n<li><p>message: Confirms the invoice has been accepted by the legal archive.</p>\n</li>\n<li><p>code: HTTP status code 200 OK.</p>\n</li>\n<li><p>success: true indicates success.</p>\n</li>\n</ul>\n<h3 id=\"❌-error-response--400-bad-request\">❌ Error Response — 400 Bad Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"SdI via POP\",\n  \"message\": \"Invoice not eligible for preservation\",\n  \"code\": 400,\n  \"success\": false\n}\n\n</code></pre>\n<blockquote>\n<p>The invoice does not meet the criteria for legal preservation. </p>\n</blockquote>\n<hr />\n<h2 id=\"retrieve-sdi-notifications\">Retrieve SdI Notifications</h2>\n<p><strong>Endpoint:</strong> <code>{{base_url}}/wp-json/api/v2/sdi-via-pop/document-notifications</code><br /><strong>Method:</strong> <code>POST</code></p>\n<p>This endpoint allows you to <strong>retrieve all the notifications</strong> (such as RC, MC, NS, etc.) received from the <strong>Italian SdI (Sistema di Interscambio)</strong> for a specific invoice.</p>\n<hr />\n<h3 id=\"🔸-request-payload-2\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"uuid\": \"01971277-c9d9-76c9-ad53-e640bbdffb8e\"\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters-2\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>:<br />  Your POP license key.</p>\n</li>\n<li><p><strong>integration.uuid</strong> <em>(string, required)</em>:<br />  The UUID of the invoice whose SDI notifications you want to retrieve.</p>\n</li>\n</ul>\n<h3 id=\"✅-successful-response--200-ok\">✅ Successful Response — 200 OK</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"integration\": \"SdI via POP\",\n  \"message\": \"Invoice notifications successfully!\",\n  \"data\": [\n    {\n      \"uuid\": \"string\",\n      \"invoice_uuid\": \"string\",\n      \"created_at\": \"string\",\n      \"type\": \"string\",\n      \"message\": {\n        \"identificativo_sdi\": null\n      },\n      \"downloaded\": true,\n      \"downloaded_at\": \"2019-08-24T14:15:22Z\",\n      \"file_name\": \"string\"\n    }\n  ],\n  \"code\": 200,\n  \"success\": true\n}\n\n</code></pre>\n<h4 id=\"response-fields-3\">Response Fields</h4>\n<p>Each item in the <code>data</code> array represents a notification and contains:</p>\n<ul>\n<li><p><strong>uuid</strong> <em>(string)</em>: UUID of the notification.</p>\n</li>\n<li><p><strong>invoice_uuid</strong> <em>(string)</em>: UUID of the related invoice.</p>\n</li>\n<li><p><strong>created_at</strong> <em>(string)</em>: Date and time when the notification was received.</p>\n</li>\n<li><p><strong>type</strong> <em>(string)</em>: Type of notification (e.g., RC = Receipt Confirmation, MC = Failed Delivery).</p>\n</li>\n<li><p><strong>message.identificativo_sdi</strong> <em>(string or null)</em>: SDI identifier.</p>\n</li>\n<li><p><strong>downloaded</strong> <em>(boolean)</em>: Whether the notification was downloaded.</p>\n</li>\n<li><p><strong>downloaded_at</strong> <em>(string)</em>: Timestamp of download.</p>\n</li>\n<li><p><strong>file_name</strong> <em>(string)</em>: Name of the notification file.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"get-invoice-xml\">Get Invoice XML</h2>\n<p><strong>Endpoint:</strong> <code>{{base_url}}/wp-json/api/v2/sdi-via-pop/documenti-get</code><br /><strong>Method:</strong> <code>POST</code></p>\n<p>This endpoint allows you to retrieve the XML file of an invoice generated via the SdI via POP integration.</p>\n<p>The draft flag is used to specify whether you want to retrieve the draft version of the invoice.<br />If set to true, the system will search for a draft invoice matching the provided UUID.<br />If set to false, it will search for a finalized invoice.</p>\n<hr />\n<h3 id=\"🔸-request-payload-3\">🔸 Request Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"1ae8b944cbebcf4592ed0b6ac367587e0840dd9e\",\n  \"integration\": {\n    \"uuid\": \"019736a2-dcd1-7ad3-adad-30479425112b\",\n    \"draft\": true\n  }\n}\n\n</code></pre>\n<h4 id=\"payload-parameters-3\">Payload Parameters</h4>\n<ul>\n<li><p><strong>license_key</strong> <em>(string, required)</em>:<br />  Your POP license key.</p>\n</li>\n<li><p><strong>integration.uuid</strong> <em>(string)</em>: The unique identifier of the invoice.</p>\n</li>\n<li><p><strong>integration.draft</strong> <em>(boolean, optional)</em>: If <code>true</code>, returns the draft version of the XML.</p>\n</li>\n</ul>\n<h3 id=\"✅-successful-response--200-ok-1\">✅ Successful Response — 200 OK</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;Invoice&gt;\n  ...\n&lt;/Invoice&gt;\n\n</code></pre>\n<h3 id=\"❌-error-response\">❌ Error Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"data\": {\n    \"message\": \"Invoice not found\",\n    \"uuid\": \"invoice-uuid\",\n    \"draft\": true\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"91df84d7-8023-4304-a69e-86d6c45c0286","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"3a7efe0d-9156-4644-9b68-44649cc31b8f","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"8d1691ab-e19e-41cf-9d0f-09c6424b7af4"},{"name":"PEPPOL","item":[{"name":"{{base_url}}/wp-json/api/v2/create-ubl","id":"3400ad32-ee14-4910-b7a7-36f771cf641d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"8b4f160ebfea90bdcb7a82b9891ef28393ce02b6\",\n    \"plugin_version\": \"6.0.0\",\n    \"site_title\": \"Demo Store\",\n    \"site_url\": \"https://example.com\",\n    \"user_agent\": \"wordpress\",\n    \"user_agent_version\": \"6.8.0\",\n    \"data\": {\n      \"id\": 2001,\n      \"filename\": \"UBL-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"XXXXXXX\",\n      \"customer_type\": \"company\",\n      \"nature\": \"\",\n      \"ref_normative\": \"\",\n      \"vies\": true,\n      \"vat_kind\": \"I\",\n      \"transmitter_data\": {\n        \"transmitter_id\": {\n          \"country_id\": \"BE\",\n          \"id_code\": \"0123456749\"\n        },\n        \"progressive\": \"00001\",\n        \"transmitter_format\": \"FPR12\",\n        \"sdi_code\": \"XXXXXXX\",\n        \"transmitter_contact\": {\n          \"phone\": \"+3221234567\",\n          \"email\": \"billing@example.com\"\n        },\n        \"recipient_pec\": \"\"\n      },\n      \"transfer_lender\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"BE\",\n            \"id_code\": \"0123456749\",\n            \"tax_regime\": \"RF01\"\n          },\n          \"company_name\": \"BE Demo Company\"\n        },\n        \"place\": {\n          \"address\": \"Rue de Bruxelles 1\",\n          \"zip_code\": \"1000\",\n          \"city\": \"Bruxelles\",\n          \"province_id\": \"BE-BRU\",\n          \"country_id\": \"BE\"\n        }\n      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"BE\",\n            \"id_code\": \"0123456749\"\n          },\n          \"company_name\": \"BE Customer SA\",\n          \"first_name\": \"Jean\",\n          \"last_name\": \"Dupont\",\n          \"email\": \"jean.dupont@example.be\"\n        },\n        \"place\": {\n          \"address\": \"Avenue Louise 10\",\n          \"zip_code\": \"1050\",\n          \"city\": \"Bruxelles\",\n          \"province_id\": \"BE-BRU\",\n          \"country_id\": \"BE\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"UBL/2026/0001\"\n        },\n        \"total_document_amount\": \"122.00\"\n      },\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"SERV-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Consulting service\",\n          \"quantity\": \"1.00\",\n          \"unit\": \"N.\",\n          \"unit_price\": \"100.00\",\n          \"total_price\": \"100.00\",\n          \"rate\": \"22.00\",\n          \"total_tax\": \"22.00\"\n        }\n      ],\n      \"payment_data\": {\n        \"terms_payment\": \"TP02\",\n        \"payment_amount\": \"122.00\",\n        \"payment_details\": \"MP05\",\n        \"beneficiary\": \"BE Demo Company\",\n        \"financial_institution\": \"Demo Bank BE\",\n        \"iban\": \"BE68539007547034\"\n      },\n      \"overrides\": {\n        \"language\": \"BE\"\n      }\n    }\n  }\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-ubl","urlObject":{"path":["wp-json","api","v2","create-ubl"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a28bdcf2-69b9-49e5-a607-23002311a078","name":"{{base_url}}/wp-json/api/v2/create-ubl","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"8b4f160ebfea90bdcb7a82b9891ef28393ce02b6\",\n    \"plugin_version\": \"6.0.0\",\n    \"site_title\": \"Demo Store\",\n    \"site_url\": \"https://example.com\",\n    \"user_agent\": \"wordpress\",\n    \"user_agent_version\": \"6.8.0\",\n    \"data\": {\n      \"id\": 2001,\n      \"filename\": \"UBL-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"XXXXXXX\",\n      \"customer_type\": \"company\",\n      \"nature\": \"\",\n      \"ref_normative\": \"\",\n      \"vies\": true,\n      \"vat_kind\": \"I\",\n      \"transmitter_data\": {\n        \"transmitter_id\": {\n          \"country_id\": \"BE\",\n          \"id_code\": \"0123456749\"\n        },\n        \"progressive\": \"00001\",\n        \"transmitter_format\": \"FPR12\",\n        \"sdi_code\": \"XXXXXXX\",\n        \"transmitter_contact\": {\n          \"phone\": \"+3221234567\",\n          \"email\": \"billing@example.com\"\n        },\n        \"recipient_pec\": \"\"\n      },\n      \"transfer_lender\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"BE\",\n            \"id_code\": \"0123456749\",\n            \"tax_regime\": \"RF01\"\n          },\n          \"company_name\": \"BE Demo Company\"\n        },\n        \"place\": {\n          \"address\": \"Rue de Bruxelles 1\",\n          \"zip_code\": \"1000\",\n          \"city\": \"Bruxelles\",\n          \"province_id\": \"BE-BRU\",\n          \"country_id\": \"BE\"\n        }\n      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"BE\",\n            \"id_code\": \"0123456749\"\n          },\n          \"company_name\": \"BE Customer SA\",\n          \"first_name\": \"Jean\",\n          \"last_name\": \"Dupont\",\n          \"email\": \"jean.dupont@example.be\"\n        },\n        \"place\": {\n          \"address\": \"Avenue Louise 10\",\n          \"zip_code\": \"1050\",\n          \"city\": \"Bruxelles\",\n          \"province_id\": \"BE-BRU\",\n          \"country_id\": \"BE\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"UBL/2026/0001\"\n        },\n        \"total_document_amount\": \"122.00\"\n      },\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"SERV-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Consulting service\",\n          \"quantity\": \"1.00\",\n          \"unit\": \"N.\",\n          \"unit_price\": \"100.00\",\n          \"total_price\": \"100.00\",\n          \"rate\": \"22.00\",\n          \"total_tax\": \"22.00\"\n        }\n      ],\n      \"payment_data\": {\n        \"terms_payment\": \"TP02\",\n        \"payment_amount\": \"122.00\",\n        \"payment_details\": \"MP05\",\n        \"beneficiary\": \"BE Demo Company\",\n        \"financial_institution\": \"Demo Bank BE\",\n        \"iban\": \"BE68539007547034\"\n      },\n      \"overrides\": {\n        \"language\": \"BE\"\n      }\n    }\n  }\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-ubl"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"server","value":"nginx"},{"key":"date","value":"Wed, 04 Mar 2026 10:47:30 GMT"},{"key":"content-type","value":"application/json; charset=UTF-8"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-robots-tag","value":"noindex"},{"key":"link","value":"<https://staging7.popapi.io/wp-json/>; rel=\"https://api.w.org/\""},{"key":"access-control-expose-headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"access-control-allow-headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"x-content-type-options","value":"nosniff"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"POST, GET, OPTIONS"},{"key":"access-control-allow-credentials","value":"true"},{"key":"x-httpd","value":"1"},{"key":"host-header","value":"8441280b0c35cbc1147f8ba998a563a7"},{"key":"x-proxy-cache-info","value":"DT:1"},{"key":"content-encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\"?>\n<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\">\n <cbc:UBLVersionID>2.1</cbc:UBLVersionID>\n <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n <cbc:ID>UBL/2026/0001</cbc:ID>\n <cbc:IssueDate>2026-03-04</cbc:IssueDate>\n <cbc:DueDate>2026-03-04</cbc:DueDate>\n <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n <cac:AccountingSupplierParty>\n  <cac:Party>\n   <cbc:EndpointID schemeID=\"9925\">BE0123456749</cbc:EndpointID>\n   <cac:PartyIdentification>\n    <cbc:ID>BE0123456749</cbc:ID>\n   </cac:PartyIdentification>\n   <cac:PartyName>\n    <cbc:Name>BE Demo Company</cbc:Name>\n   </cac:PartyName>\n   <cac:PostalAddress>\n    <cbc:StreetName>Rue de Bruxelles 1</cbc:StreetName>\n    <cbc:CityName>Bruxelles</cbc:CityName>\n    <cbc:PostalZone>1000</cbc:PostalZone>\n    <cac:Country>\n     <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n    </cac:Country>\n   </cac:PostalAddress>\n   <cac:PartyTaxScheme>\n    <cbc:CompanyID>BE0123456749</cbc:CompanyID>\n    <cac:TaxScheme>\n     <cbc:ID>VAT</cbc:ID>\n    </cac:TaxScheme>\n   </cac:PartyTaxScheme>\n   <cac:PartyLegalEntity>\n    <cbc:RegistrationName>BE Demo Company</cbc:RegistrationName>\n   </cac:PartyLegalEntity>\n  </cac:Party>\n </cac:AccountingSupplierParty>\n <cac:AccountingCustomerParty>\n  <cac:Party>\n   <cbc:EndpointID schemeID=\"0208\">0123456749</cbc:EndpointID>\n   <cac:PartyIdentification>\n    <cbc:ID>BE0123456749</cbc:ID>\n   </cac:PartyIdentification>\n   <cac:PartyName>\n    <cbc:Name>BE Customer SA</cbc:Name>\n   </cac:PartyName>\n   <cac:PostalAddress>\n    <cbc:StreetName>Avenue Louise 10</cbc:StreetName>\n    <cbc:CityName>Bruxelles</cbc:CityName>\n    <cbc:PostalZone>1050</cbc:PostalZone>\n    <cac:Country>\n     <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n    </cac:Country>\n   </cac:PostalAddress>\n   <cac:PartyTaxScheme>\n    <cbc:CompanyID>BE0123456749</cbc:CompanyID>\n    <cac:TaxScheme>\n     <cbc:ID>VAT</cbc:ID>\n    </cac:TaxScheme>\n   </cac:PartyTaxScheme>\n   <cac:PartyLegalEntity>\n    <cbc:RegistrationName>BE Customer SA</cbc:RegistrationName>\n   </cac:PartyLegalEntity>\n   <cac:Contact>\n    <cbc:ElectronicMail>jean.dupont@example.be</cbc:ElectronicMail>\n   </cac:Contact>\n  </cac:Party>\n </cac:AccountingCustomerParty>\n <cac:PaymentMeans>\n  <cbc:PaymentMeansCode listID=\"UN/ECE 4461\" listName=\"Payment Means\" listURI=\"http://docs.oasis-open.org/ubl/os-UBL-2.0-update/cl/gc/default/PaymentMeansCode-2.0.gc\">97</cbc:PaymentMeansCode>\n  <cbc:PaymentID>UBL/2026/0001</cbc:PaymentID>\n  <cac:PayeeFinancialAccount>\n   <cbc:ID>BE68539007547034</cbc:ID>\n   <cbc:Name>BE Demo Company</cbc:Name>\n   <cac:FinancialInstitutionBranch>\n    <cbc:ID>Demo Bank BE</cbc:ID>\n   </cac:FinancialInstitutionBranch>\n  </cac:PayeeFinancialAccount>\n </cac:PaymentMeans>\n <cac:PaymentTerms>\n  <cbc:Note>TP02</cbc:Note>\n </cac:PaymentTerms>\n <cac:TaxTotal>\n  <cbc:TaxAmount currencyID=\"EUR\">22.00</cbc:TaxAmount>\n  <cac:TaxSubtotal>\n   <cbc:TaxableAmount currencyID=\"EUR\">100.00</cbc:TaxableAmount>\n   <cbc:TaxAmount currencyID=\"EUR\">22.00</cbc:TaxAmount>\n   <cac:TaxCategory>\n    <cbc:ID schemeID=\"UNCL5305\" schemeName=\"Duty or tax or fee category\">S</cbc:ID>\n    <cbc:Percent>22.00</cbc:Percent>\n    <cac:TaxScheme>\n     <cbc:ID>VAT</cbc:ID>\n    </cac:TaxScheme>\n   </cac:TaxCategory>\n  </cac:TaxSubtotal>\n </cac:TaxTotal>\n <cac:LegalMonetaryTotal>\n  <cbc:LineExtensionAmount currencyID=\"EUR\">100.00</cbc:LineExtensionAmount>\n  <cbc:TaxExclusiveAmount currencyID=\"EUR\">100.00</cbc:TaxExclusiveAmount>\n  <cbc:TaxInclusiveAmount currencyID=\"EUR\">122.00</cbc:TaxInclusiveAmount>\n  <cbc:AllowanceTotalAmount currencyID=\"EUR\">0.00</cbc:AllowanceTotalAmount>\n  <cbc:ChargeTotalAmount currencyID=\"EUR\">0.00</cbc:ChargeTotalAmount>\n  <cbc:PayableRoundingAmount currencyID=\"EUR\">0.00</cbc:PayableRoundingAmount>\n  <cbc:PayableAmount currencyID=\"EUR\">122.00</cbc:PayableAmount>\n </cac:LegalMonetaryTotal>\n <cac:InvoiceLine>\n  <cbc:ID>1</cbc:ID>\n  <cbc:InvoicedQuantity unitCode=\"C62\">1</cbc:InvoicedQuantity>\n  <cbc:LineExtensionAmount currencyID=\"EUR\">100.00</cbc:LineExtensionAmount>\n  <cac:Item>\n   <cbc:Description>Consulting service</cbc:Description>\n   <cbc:Name>Consulting service</cbc:Name>\n   <cac:ClassifiedTaxCategory>\n    <cbc:ID>S</cbc:ID>\n    <cbc:Percent>22.00</cbc:Percent>\n    <cac:TaxScheme>\n     <cbc:ID>VAT</cbc:ID>\n    </cac:TaxScheme>\n   </cac:ClassifiedTaxCategory>\n  </cac:Item>\n  <cac:Price>\n   <cbc:PriceAmount currencyID=\"EUR\">100</cbc:PriceAmount>\n   <cbc:BaseQuantity unitCode=\"C62\">1</cbc:BaseQuantity>\n  </cac:Price>\n </cac:InvoiceLine>\n</Invoice>"}],"_postman_id":"3400ad32-ee14-4910-b7a7-36f771cf641d"}],"id":"8ac0fe2e-4578-4e17-b4ca-f4dd4e4f69ac","description":"<p>Getting Started with the Electronic Invoicing API (PEPPOL via POP)</p>\n<p>To start sending electronic invoices through the <strong>PEPPOL network</strong> using the <strong>POP system</strong>, follow these steps:</p>\n<h4 id=\"1-create-a-pop-account\">1. Create a POP Account</h4>\n<p>First, sign up for a POP account with at least the <strong>Growth plan</strong>.</p>\n<h4 id=\"2-enable-peppol-integration\"><strong>2. Enable PEPPOL Integration</strong></h4>\n<p>Once your account is active, go to your <strong>User Area</strong> and open the <strong>Integrations</strong> panel to enable <strong>PEPPOL</strong> connectivity.</p>\n<img src=\"https://content.pstmn.io/6d3f9fef-b502-4ac7-9937-ad898f48db8b/cmV0ZS1QRVBQT0wuanBn\" />\n\n<ul>\n<li><p>Select the <strong>PEPPOL</strong> integration.</p>\n</li>\n<li><p><strong>Register your Legal Entity</strong>Enter the following information to enable your company for electronic invoicing:</p>\n<ul>\n<li><p><strong>Address</strong></p>\n</li>\n<li><p><strong>City</strong></p>\n</li>\n<li><p><strong>ZIP Code</strong></p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"3-access-api-endpoints\">3. Access API Endpoints</h4>\n<p>Once your company is connected and the PEPPOL integration is enabled, you are authorized to use the API endpoints for sending invoices.</p>\n<p>You can now proceed to authenticate and interact with the available endpoints described below.</p>\n<hr />\n<h2 id=\"using-peppol-integration\">Using PEPPOL Integration</h2>\n<h3 id=\"🔐-authentication\">🔐 Authentication</h3>\n<p>All requests require the inclusion of a valid <code>license_key</code> in the main payload.</p>\n<hr />\n<h3 id=\"📦-payload-structure\">📦 Payload Structure</h3>\n<p>To create an invoice that will be managed and sent via <strong>PEPPOL</strong> through the <strong>POP integration</strong>, you need to include the following integration object in the payload using the<br /><code>{{base_url}}/wp-json/api/v2/create-ubl</code> endpoint</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"your_license_key\",\n  \"data\": { ... },\n  \"integration\": {\n    \"use\": \"peppol-via-pop\",\n    \"action\": \"create\"\n  }\n}\n\n</code></pre>\n<p>This instructs the system to:</p>\n<ul>\n<li>Generate the XML invoice using the PEPPOL integration.</li>\n</ul>\n<p>✅ Successful Response</p>\n<p>When the invoice is successfully created using the PEPPOL integration, the API will return a JSON response like the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"integration\": \"Peppol via POP\",\n    \"message\": \"Invoice created successfully!\",\n    \"data\": {\n        \"uuid\": \"0197200c-b922-78e2-99b6-1b4d40969ba8\"\n    },\n    \"code\": 201,\n    \"success\": true\n}\n\n</code></pre>\n<h4 id=\"response-fields\">Response Fields</h4>\n<ul>\n<li><p><strong>integration</strong>: The name of the integration used (<code>\"Peppol via POP\"</code>).</p>\n</li>\n<li><p><strong>message</strong>: A human-readable message indicating the result of the operation.</p>\n</li>\n<li><p><strong>data.uuid</strong>: The unique identifier (UUID) of the created invoice.<br />  This ID must be used in subsequent requests.</p>\n</li>\n<li><p><strong>code</strong>: HTTP status code (202 indicates successful creation).</p>\n</li>\n<li><p><strong>success</strong>: Boolean value confirming the operation was successful.</p>\n</li>\n</ul>\n","_postman_id":"8ac0fe2e-4578-4e17-b4ca-f4dd4e4f69ac"},{"name":"Webhook","item":[],"id":"6f13a8d1-143c-4dbb-82ae-99799576ac28","description":"<h2 id=\"pop-to-webhook-integration\"><strong>POP to Webhook Integration</strong></h2>\n<p>The <strong>Webhook integration</strong> allows you to automatically send invoice data generated by POP to external tools such as Zapier, Make (Integromat), CRMs, cloud storage tools like Google Drive, and many more.</p>\n<h3 id=\"availability\"><strong>Availability</strong></h3>\n<p>This feature is available <strong>starting from the Growth plan</strong>.</p>\n<h3 id=\"how-to-enable-the-webhook-integration\"><strong>How to Enable the Webhook Integration</strong></h3>\n<p>1. <strong>Activate the integration on your POP account</strong></p>\n<p>Log in to your account at <a href=\"https://popapi.io\">popapi.io</a> and follow these steps:</p>\n<ul>\n<li><p>Go to <strong>My Account &gt; Integrations &gt; POP to Webhook &gt; Connect</strong></p>\n</li>\n<li><p>Enter the following information for each webhook you want to create:</p>\n<ul>\n<li><p><strong>Webhook identifier name</strong> (e.g., “Zapier – Google Drive”)</p>\n</li>\n<li><p><strong>Destination webhook URL</strong> (e.g., URL generated by Zapier or another tool)</p>\n</li>\n<li><p><strong>Data format to send:</strong></p>\n<ul>\n<li><p>JSON: suitable for most integrations like Zapier</p>\n</li>\n<li><p>XML: recommended if the receiving system requires a structured file (e.g., for storage or invoicing)</p>\n</li>\n</ul>\n</li>\n<li><p>Activate the webhook<br />  You can create and activate multiple webhooks at the same time, each with a different URL and format.</p>\n</li>\n</ul>\n</li>\n</ul>\n<img src=\"https://content.pstmn.io/35a62490-8731-496d-bc44-b0c618329f5b/d2ViaG9vay5wbmc=\" />\n\n<hr />\n<h2 id=\"real-world-use-cases\"><strong>Real-World Use Cases</strong></h2>\n<h3 id=\"integration-with-zapier\"><strong>Integration with Zapier</strong></h3>\n<ul>\n<li><p>Create a Zap that starts from a <strong>Webhook (Catch Hook)</strong></p>\n</li>\n<li><p>Paste the URL generated by Zapier into the URL field in your POP account</p>\n</li>\n<li><p>Once the payload is received, you can:</p>\n<ul>\n<li><p>Save the invoice to Google Drive</p>\n</li>\n<li><p>Send an email with the XML file attached</p>\n</li>\n<li><p>Add a row to Google Sheets or update a CRM</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"integration-with-make\"><strong>Integration with Make</strong></h3>\n<ul>\n<li><p>Use the module <strong>Webhook &gt; Custom Webhook</strong></p>\n</li>\n<li><p>Copy the generated URL and paste it into your POP account</p>\n</li>\n<li><p>Receive the data in JSON format and connect it to any Make scenario</p>\n</li>\n</ul>\n<h3 id=\"supported-formats\"><strong>Supported Formats</strong></h3>\n<p>POP supports two data formats for webhook payloads:</p>\n<ul>\n<li><p><strong>JSON</strong>: ideal for no-code tools (Zapier, Make, Airtable, etc.)</p>\n<ul>\n<li>The JSON payload is automatically flattened to simplify processing in external tools, avoiding deeply nested structures.</li>\n</ul>\n</li>\n<li><p><strong>XML</strong>: recommended for storing invoices or sending them to systems that require the <strong>FatturaPA standard</strong></p>\n</li>\n</ul>\n<hr />\n<h3 id=\"frequently-asked-questions\"><strong>Frequently Asked Questions</strong></h3>\n<p><strong>Can I send the XML file as an attachment?</strong></p>\n<p>Yes. When choosing the XML format, the plugin also sends the invoice XML file as an attachment (e.g., in Zapier you can save it to Drive or attach it to an email).</p>\n<p><strong>Can I create multiple webhooks?</strong></p>\n<p>Yes. You can activate multiple webhooks with different URLs and formats for different purposes (e.g., one for storage, one for CRM, one for email notifications).</p>\n<p><strong>Example: Sending Invoice Data to a Webhook</strong></p>\n<p><strong>Integration configuration:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"integration\": {\n  \"use\": \"pop-to-webhook\",\n  \"id\": \"xxxxxx\" // the ID of the webhook registered in the panel &gt; https://popapi.io/en/my-account/api-integrations/pop-to-webhook/connect/\n}\n\n</code></pre>\n","_postman_id":"6f13a8d1-143c-4dbb-82ae-99799576ac28"}]}