{"info":{"_postman_id":"95be7111-603e-48fc-b2f1-81b36ce2ec99","name":"POP Cloud API (v2)","description":"<html><head></head><body><p>This documentation outlines the generation of a valid legal document in various format: XML (for the Italian SdI), XML UBL (Peppol European Network), PDF, Facturae (Spain).</p>\n<p>Looking for the integrations? Check the <a href=\"https://documenter.getpostman.com/view/41622997/2sB2qgcxZM\">POP Cloud Integrations</a> docs.</p>\n<h1 id=\"api-endpoints\">API Endpoints</h1>\n<ul>\n<li><p>XML Invoice: {{base_url}}/wp-json/api/v2/create-xml (response: XML)</p>\n</li>\n<li><p>PDF Invoice: {{base_url}}/wp-json/api/v2/create-pdf (response: PDF)</p>\n</li>\n<li><p>UBL Invoice: {{base_url}}/wp-json/api/v2/create-ubl (response: XML UBL)</p>\n</li>\n<li><p>Facturae (Spain): {{base_url}}/wp-json/api/v2/facturae-xml (response: XML Facturae)</p>\n</li>\n</ul>\n<h3 id=\"request-body-parameters\">Request Body Parameters</h3>\n<p>The request body must be a JSON object containing the following fields:</p>\n<p>The field descriptions list <strong>all the fields</strong> required for generating the invoice in XML format. However, for PDF generation, it is important that the JSON contains the <strong>fields within the</strong> <strong><code>pdf</code></strong> <strong>object</strong>, which is specifically dedicated to creating the PDF document.</p>\n<h4 id=\"1-license_key-string\">1. <strong>license_key</strong> (string)</h4>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>A unique key provided for API authentication.</p>\n</li>\n</ul>\n<h4 id=\"2-data-object\">2. <strong>data</strong> (object)</h4>\n<p>Contains all structured invoice data, including header, line items, VAT summary, total amounts, payment information, and additional metadata such as filename, nature of the transaction, legal reference, and VIES validation.</p>\n<ul>\n<li><p><strong>id</strong> (int)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The order id</p>\n</li>\n</ul>\n</li>\n<li><p><strong>filename</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The desired filename for the generated XML file.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>type</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Type of fiscal document. Can be 'invoice' or 'credit_note'. Defines the inclusion and content of specific sections in the XML file, such as 'DatiFattureCollegate' (for credit notes) or 'DatiBollo' (for invoices).</p>\n</li>\n</ul>\n</li>\n<li><p><strong>version</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The version of the invoice format being used (e.g., \"FPR12\").</p>\n</li>\n</ul>\n</li>\n<li><p><strong>sdi_type</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Recipient identifier used for the electronic delivery of the invoice. Depending on the national e-invoicing system, it may be known by different names (e.g., 'Codice Destinatario' in Italy, 'Endpoint ID' in PEPPOL) and ensures correct routing to the receiver.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>customer_type</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The type of customer (company, freelance or private)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>nature</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The nature code for IT invoice (e.g., \"N2.1\")</p>\n</li>\n</ul>\n</li>\n<li><p><strong>ref_normative</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The normative reference for IT invoice (e.g., \"Non imp. art.7 ter D.P.R. 633/72\")</p>\n</li>\n</ul>\n</li>\n<li><p><strong>vies</strong> (bool)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>Identify whether the VAT number has passed or failed the VIES check, which is mandatory for the reverse charge</p>\n</li>\n</ul>\n</li>\n<li><p><strong>vat_kind</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>Applicable only to Italian electronic invoices. Specifies the VAT collection scheme according to FatturaPA specifications. Allowed values:<br>  • 'I' – Immediate VAT<br>  • 'D' – Deferred VAT<br>  • 'S' – Split Payment</p>\n<p>  Ignored for invoices issued in other countries.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"21-transfer_lender-object\">2.1. <strong>transfer_lender</strong> (object)</h4>\n<p>Contains the data of the entity transferring the goods or providing the services. Represents the supplier or service provider, typically used in Italian e-invoicing (CedentePrestatore), but applicable in other countries' e-invoicing systems to identify the issuing party.</p>\n<ul>\n<li><p><strong>personal_data</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Contains the tax information of the transferor, including <code>tax_id_vat</code> and <code>company_name</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>place</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Address information of the transferor.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"22-transferee_client-object\">2.2. <strong>transferee_client</strong> (object)</h4>\n<p>Contains the data of the entity receiving the goods or services. Represents the recipient or buyer, typically used in Italian e-invoicing (CessionarioCommittente), but applicable in other countries' e-invoicing systems to identify the receiving party.</p>\n<ul>\n<li><p><strong>personal_data</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Contains the tax information of the recipient (e.g., <code>tax_id_vat</code>, <code>first_name</code>, <code>last_name</code>).</p>\n</li>\n</ul>\n</li>\n<li><p><strong>place</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Address information of the recipient.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"23-invoice_body-object\">2.3. <strong>invoice_body</strong> (object)</h4>\n<p>Object representing the invoice body. Includes the header, detailed line items (products or services), applied VAT rates, summary of taxable amounts and taxes, and payment information.</p>\n<ul>\n<li><p><strong>general_data</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Contains general invoice information such as <code>doc_type</code>, <code>currency</code>, <code>date</code>, and <code>invoice_number</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>total_document_amount</strong> (float|string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The total amount of the invoice. For Italian e-invoicing, this value must be expressed using the point as the decimal separator, in line with FatturaPA specifications. The field represents the total amount of the document, including all applicable taxes like VAT, but excluding any discounts or rounding.</p>\n<p>  Example (Italy): <code>1250.00</code> (for a total amount of 1250 euros).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"24-order_items-array\">2.4. <strong>order_items</strong> (array)</h4>\n<p>Contains an array of items included in the invoice.</p>\n<ul>\n<li><p>Each item object includes:</p>\n<ul>\n<li><p><strong>item_code</strong> (object): Contains a <code>type</code> and <code>value</code> for the item.</p>\n</li>\n<li><p><strong>description</strong> (string): A brief description of the item.</p>\n</li>\n<li><p><strong>quantity</strong> (string): The quantity of the item.</p>\n</li>\n<li><p><strong>unit</strong> (string): The unit of measurement for the item (e.g., \"N.\" for number).</p>\n</li>\n<li><p><strong>unit_price</strong> (string): The price per unit.</p>\n</li>\n<li><p><strong>total_price</strong> (string): The total price for the item.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"25-payment_data-object\">2.5. <strong>payment_data</strong> (object)</h4>\n<p>Contains payment details for the invoice.</p>\n<ul>\n<li><p><strong>terms_payment</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The payment terms (e.g., \"TP02\" for immediate payment).</p>\n</li>\n</ul>\n</li>\n<li><p><strong>beneficiary</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>If the payment is of the MP05 type (bank transfer) it must be indicated</p>\n</li>\n</ul>\n</li>\n<li><p><strong>financial_institution</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>If the payment is of the MP05 type (bank transfer) it must be indicated</p>\n</li>\n</ul>\n</li>\n<li><p><strong>iban</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>If the payment is of the MP05 type (bank transfer) it must be indicated</p>\n</li>\n</ul>\n</li>\n<li><p><strong>payment_details</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>Indicate the type of payment (MP01 (cash), MP05 (bank transfer), MP02 (cheque), MP08 (credit card), MP19 (Sepa))</p>\n</li>\n</ul>\n</li>\n<li><p><strong>payment_amount</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The total payment amount.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"26-purchase_order_data-object\">2.6. purchase_order_data (object)</h4>\n<p>If it is an invoice, indicate the order ID and date</p>\n<ul>\n<li><p><strong>id</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>ID of the order</p>\n</li>\n</ul>\n</li>\n<li><p><strong>date</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>date of the order</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"27-connected_invoice_data-object\">2.7. connected_invoice_data (object)</h4>\n<p>If it is a credit note, the related invoice must be indicated</p>\n<ul>\n<li><p><strong>id</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes (If it is a credit note)</p>\n</li>\n<li><p>ID of the linked invoice</p>\n</li>\n</ul>\n</li>\n<li><p><strong>date</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes (If it is a credit note)</p>\n</li>\n<li><p>date of the connected invoice</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"28-overrides-object\">2.8. overrides (object)</h4>\n<p>Contains parameters that allow overriding some features</p>\n<ul>\n<li><p><strong>bollo_force_apply</strong> (bool)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>A flag indicating whether to force the application of the virtual stamp.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"29-pdf-object\">2.9. <strong>pdf</strong> (object)</h4>\n<p>Contains parameters related to generating the PDF version of the invoice. These fields are used exclusively for creating a printable version of the invoice and do not affect the XML format for electronic invoicing. Examples of parameters include layout configuration and selection of data to be displayed in the PDF.</p>\n<ul>\n<li><p><strong>invoice_html</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>A flag indicating whether to generate the HTML for the invoice.</p>\n</li>\n</ul>\n</li>\n<li><p>doc_type_title (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The document title (e.g., Invoice, Receipt, Credit Note)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>logo_url</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The logo image url</p>\n</li>\n</ul>\n</li>\n<li><p><strong>head</strong> (array)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n<ul>\n<li>store_info_address (string)<br>  The physical address of the store. This field is required and should contain the full address, including street name, number, city, postal code, and country, if applicable.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>billing</strong> (array)<br>  Contains the billing details of the customer. This includes personal information, address, and contact details necessary for invoicing.</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n<ul>\n<li><p>first_name – The first name of the customer.</p>\n</li>\n<li><p>last_name – The last name of the customer.</p>\n</li>\n<li><p>company – The company name, if applicable.</p>\n</li>\n<li><p>address_1 – The primary billing address, including street name and number.</p>\n</li>\n<li><p>city – The city associated with the billing address.</p>\n</li>\n<li><p>state – The state or province of the billing address, if applicable.</p>\n</li>\n<li><p>postcode – The postal or ZIP code of the billing address.</p>\n</li>\n<li><p>country – The country code (ISO 3166-1 alpha-2) of the billing address.</p>\n</li>\n<li><p>email – The customer's email address.</p>\n</li>\n<li><p>phone – The customer's phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>shipping</strong> (array)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n<ul>\n<li><p>first_name – The first name of the recipient.</p>\n</li>\n<li><p>last_name – The last name of the recipient.</p>\n</li>\n<li><p>company – The company name, if applicable.</p>\n</li>\n<li><p>address_1 – The primary shipping address, including street name and number.</p>\n</li>\n<li><p>city – The city associated with the shipping address.</p>\n</li>\n<li><p>state – The state or province of the shipping address, if applicable.</p>\n</li>\n<li><p>postcode – The postal or ZIP code of the shipping address.</p>\n</li>\n<li><p>country – The country code (ISO 3166-1 alpha-2) of the shipping address.</p>\n</li>\n<li><p>email – The recipient's email address.</p>\n</li>\n<li><p>phone – The recipient's phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>nature_rc</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The nature of the transaction. This field is optional and specifies the type of operation for tax purposes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>ref_norm_rc</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The regulatory reference for the specified transaction nature. This field is optional and provides the legal framework applicable to the operation.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>ref_n5_normative</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The regulatory reference specific to the N5 transaction nature. This field is optional and should be used only when the nature of the operation falls under the N5 category.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>total_tax</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: Yes</p>\n</li>\n<li><p>The total amount of taxes applied to the invoice. This field is required and should represent the sum of all applicable taxes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>footer_text</strong> (string)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>The text that will be included in the footer of the PDF invoice. This field is optional and can be used for additional notes or legal disclaimers.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>email_invoice</strong> (object)</p>\n<ul>\n<li><p><strong>Required</strong>: No</p>\n</li>\n<li><p>Accepts only two fields. to is the required array of recipient emails: POP attaches the generated PDF and sends it to every address in the list, failing the request if the array is empty or contains invalid strings. from is optional; when provided POP does not change the real sender, but it inserts the address into the reply-to header and mentions it inside the email body so customers know where to reply.</p>\n</li>\n</ul>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"email_invoice\": {\n  \"to\": [\"customer@example.com\"],\n  \"from\": \"invoice@email.it\",\n}\n\n</code></pre>\n<h2 id=\"xml-invoice-fatturapa\">XML Invoice (FatturaPA):</h2>\n<p>{{base_url}}/wp-json/api/v2/create-xml (response: XML)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"29ccb6e86806af7fc2722c7805e617db9c553b4c\",\n  \"data\": {\n    \"id\": 2575,\n    \"filename\": \"ITIT88888888888_00009\",\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\": \"IT88888888888\"\n      },\n      \"progressive\": \"5b27a73cab\",\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\": \"IT88888888888\",\n          \"tax_regime\": \"RF19\"\n        },\n        \"company_name\": \"TEST123\"\n      },\n      \"place\": {\n        \"address\": \"Via Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\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 Roma 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\n        \"country_id\": \"IT\"\n      }\n    },\n    \"invoice_body\": {\n      \"general_data\": {\n        \"doc_type\": \"TD01\",\n        \"currency\": \"EUR\",\n        \"date\": \"2025-01-31\",\n        \"invoice_number\": \"WEB9/2025\",\n        \"invoice_prefix\": \"WEB\",\n        \"invoice_suffix\": \"2025\"\n      },\n      \"provident_fund\": [],\n      \"total_document_amount\": \"16.38\"\n    },\n    \"purchase_order_data\": {\n      \"id\": \"#2575\",\n      \"date\": \"2025-01-31\"\n    },\n    \"connected_invoice_data\": [],\n    \"order_items\": [\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2563\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 2\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.09\",\n        \"total_price\": \"4.09\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2570\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 7\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.92\",\n        \"total_price\": \"4.92\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2569\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 6\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"7.37\",\n        \"total_price\": \"7.37\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      }\n    ],\n    \"payment_data\": {\n      \"terms_payment\": \"TP02\",\n      \"payment_amount\": \"16.38\",\n      \"payment_details\": \"MP02\",\n      \"beneficiary\": \"\",\n      \"financial_institution\": \"\",\n      \"iban\": \"\"\n    },\n    \"overrides\": {\n      \"bollo_force_apply\": false\n    }\n  }\n}\n\n</code></pre>\n<h2 id=\"xml-invoice-facturae---spain\">XML Invoice (Facturae - Spain):</h2>\n<p>{{base_url}}/wp-json/api/v2/facturae-xml (response: XML Facturae)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"29ccb6e86806af7fc2722c7805e617db9c553b4c\",\n  \"data\": {\n    \"id\": 2575,\n    \"filename\": \"ITIT88888888888_00009\",\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\": \"IT88888888888\"\n      },\n      \"progressive\": \"5b27a73cab\",\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\": \"IT88888888888\",\n          \"tax_regime\": \"RF19\"\n        },\n        \"company_name\": \"TEST123\"\n      },\n      \"place\": {\n        \"address\": \"Via Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\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 Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\n        \"country_id\": \"IT\"\n      }\n    },\n    \"invoice_body\": {\n      \"general_data\": {\n        \"doc_type\": \"TD01\",\n        \"currency\": \"EUR\",\n        \"date\": \"2025-01-31\",\n        \"invoice_number\": \"WEB9/2025\",\n        \"invoice_prefix\": \"WEB\",\n        \"invoice_suffix\": \"2025\"\n      },\n      \"provident_fund\": [],\n      \"total_document_amount\": \"16.38\"\n    },\n    \"purchase_order_data\": {\n      \"id\": \"#2575\",\n      \"date\": \"2025-01-31\"\n    },\n    \"connected_invoice_data\": [],\n    \"order_items\": [\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2563\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 2\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.09\",\n        \"total_price\": \"4.09\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2570\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 7\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.92\",\n        \"total_price\": \"4.92\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2569\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 6\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"7.37\",\n        \"total_price\": \"7.37\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0\n      }\n    ],\n    \"payment_data\": {\n      \"terms_payment\": \"TP02\",\n      \"payment_amount\": \"16.38\",\n      \"payment_details\": \"MP02\",\n      \"beneficiary\": \"\",\n      \"financial_institution\": \"\",\n      \"iban\": \"\"\n    },\n    \"overrides\": {\n      \"bollo_force_apply\": false\n    }\n  }\n}\n\n</code></pre>\n<h2 id=\"pdf-invoice\"><strong>PDF Invoice:</strong></h2>\n<p>{{base_url}}/wp-json/api/v2/create-pdf (response: PDF)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"license_key\": \"29ccb6e86806af7fc2722c7805e617db9c553b4c\",\n  \"data\": {\n    \"id\": 2575,\n    \"filename\": \"ITIT88888888888_00009\",\n    \"type\": \"invoice\",\n    \"version\": \"FPR12\",\n    \"sdi_type\": \"\",\n    \"customer_type\": \"private\",\n    \"nature\": \"\",\n    \"ref_normative\": \"\",\n    \"vies\": false,\n    \"vat_kind\": null,\n    \"transmitter_data\": {\n      \"transmitter_id\": {\n        \"country_id\": \"IT\",\n        \"id_code\": \"IT88888888888\"\n      },\n      \"progressive\": \"5b27a73cab\",\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\": \"IT88888888888\",\n          \"tax_regime\": \"RF19\"\n        },\n        \"company_name\": \"TEST123\"\n      },\n      \"place\": {\n        \"address\": \"Via Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\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 Roma 123\",\n        \"zip_code\": \"10178\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\n        \"country_id\": \"IT\"\n      }\n    },\n    \"invoice_body\": {\n      \"general_data\": {\n        \"doc_type\": \"TD01\",\n        \"currency\": \"EUR\",\n        \"date\": \"2025-01-31\",\n        \"invoice_number\": \"INV9/2025\",\n        \"invoice_prefix\": \"INV\",\n        \"invoice_suffix\": \"2025\"\n      },\n      \"provident_fund\": [],\n      \"total_document_amount\": \"19.98\"\n    },\n    \"purchase_order_data\": {\n      \"id\": \"#2575\",\n      \"date\": \"2025-01-31\"\n    },\n    \"connected_invoice_data\": [],\n    \"order_items\": [\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2563\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 2\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.99\",\n        \"total_price\": \"4.99\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0.9\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2570\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 7\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"6.00\",\n        \"total_price\": \"6.00\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 1.08\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2569\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 6\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"8.99\",\n        \"total_price\": \"8.99\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 1.62\n      }\n    ],\n    \"payment_data\": {\n      \"terms_payment\": \"TP02\",\n      \"payment_amount\": \"19.98\",\n      \"payment_details\": \"MP02\",\n      \"beneficiary\": \"\",\n      \"financial_institution\": \"\",\n      \"iban\": \"\"\n    },\n    \"overrides\": {\n      \"bollo_force_apply\": false\n    },\n    \"pdf\": {\n      \"invoice_html\": \"off\",\n      \"doc_type_title\": \"Fattura\",\n      \"logo_url\": \"https://popapi.io/logo.svg\",\n      \"head\": {\n        \"store_info_extra_data\": \"\",\n        \"store_info_address\": \"Via Roma, 123 Catania 95100 IT CT\"\n      },\n      \"billing\": {\n        \"first_name\": \"Alfio\",\n        \"last_name\": \"Piccione\",\n        \"company\": \"\",\n        \"address_1\": \"Via Roma 123\",\n        \"address_2\": \"\",stylized\n        \"city\": \"Catania\",\n        \"state\": \"CT\",\n        \"postcode\": \"10178\",\n        \"country\": \"IT\",\n        \"email\": \"alfio.piccione@gmail.com\",\n        \"phone\": \"1782361287\"\n      },\n      \"shipping\": {\n        \"first_name\": \"\",\n        \"last_name\": \"\",\n        \"company\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"postcode\": \"\",\n        \"country\": \"\",\n        \"phone\": \"\"\n      },\n      \"nature_rc\": \"\",\n      \"ref_norm_rc\": null,\n      \"ref_n5_normative\": \"Escluso Art.74 ter D.P.R. 633/72\",\n      \"total_tax\": \"3.6\",\n      \"footer_text\": \"Immettere il testo per il footer della fattura PDF.\"\n    }\n  }\n}\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"API Endpoints","slug":"api-endpoints"}],"owner":"41622997","collectionId":"95be7111-603e-48fc-b2f1-81b36ce2ec99","publishedId":"2sAYkLmGT8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-26T16:36:54.000Z"},"item":[{"name":"{{base_url}}/wp-json/api/v2/create-xml","id":"4bd022e3-2cea-47d3-95c9-2c6caf568205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"license_key\": \"25f3e8691c731d57e09eff778b80449b2f1ece79\",\n    \"plugin_version\": \"\",\n    \"plan_level\": \"\",\n    \"site_title\": \"Demo Store\",\n    \"site_url\": \"https://example.com\",\n    \"user_agent\": \"api\",\n    \"user_agent_version\": \"\",\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      \"n4_ref_normative\": \"\",\n      \"vies\": false,\n      \"vat_kind\": \"I\",\n      \"order_provider\": \"\",\n      \"view\": false,\n      \"xml_style\": \"\",\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\": \"\"\n          },\n          \"tax_id_code\": \"\",\n          \"company_name\": \"POP Demo SRL\",\n          \"first_name\": \"\",\n          \"last_name\": \"\",\n          \"email\": \"\"\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\": \"\",\n          \"number\": \"\",\n          \"liquidation_status\": \"\"\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          \"amount_contribution_fund\": \"\"\n        },\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        \"id\": \"\",\n        \"date\": \"\"\n      },\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          \"gift_product\": \"no\",\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  }","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":"456bd5bd-70c2-4c4e-902f-2ac96f9ef7b2","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:38:49 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":"4bd022e3-2cea-47d3-95c9-2c6caf568205"},{"name":"{{base_url}}/wp-json/api/v2/create-pdf","id":"b94ccac9-e6d4-4fd5-9b1f-6d75a8afbeeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","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\": 1002,\n      \"filename\": \"INV-2026-0002\",\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      },\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      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"IT\",\n            \"id_code\": \"12345678901\"\n          },\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/0002\"\n        },\n        \"total_document_amount\": \"122.00\"\n      },\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          \"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        \"language\": \"IT\"\n      },\n      \"pdf\": {\n        \"invoice_html\": \"on\",\n        \"doc_type_title\": \"Invoice\",\n        \"logo_url\": \"\",\n        \"head\": {\n          \"store_info_extra_data\": \"\",\n          \"store_info_address\": \"Via Roma 1, Roma, 00100, IT RM\"\n        },\n        \"billing\": [\n          {\n            \"first_name\": \"Mario\",\n            \"last_name\": \"Rossi\",\n            \"company\": \"Cliente Test SRL\",\n            \"address_1\": \"Via Milano 10\",\n            \"city\": \"Milano\",\n            \"state\": \"MI\",\n            \"postcode\": \"20100\",\n            \"country\": \"IT\",\n            \"email\": \"cliente@example.com\",\n            \"phone\": \"+39021234567\"\n          }\n        ],\n        \"shipping\": [],\n        \"nature_rc\": \"\",\n        \"ref_norm_rc\": \"\",\n        \"ref_n5_normative\": \"\",\n        \"total_tax\": \"22.00\",\n        \"footer_text\": \"Grazie per la preferenza.\"\n      }\n    }\n  }\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-pdf","urlObject":{"path":["wp-json","api","v2","create-pdf"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"be626724-2d7c-4fd8-b586-25379173c8c7","name":"{{base_url}}/wp-json/api/v2/create-pdf","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"license_key\": \"29ccb6e86806af7fc2722c7805e617db9c553b4c\",\n  \"data\": {\n    \"id\": 2575,\n    \"filename\": \"ITIT88888888888_00009\",\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\": \"IT88888888888\"\n      },\n      \"progressive\": \"5b27a73cab\",\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\": \"IT88888888888\",\n          \"tax_regime\": \"RF19\"\n        },\n        \"company_name\": \"TEST123\"\n      },\n      \"place\": {\n        \"address\": \"Via Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\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 Roma, 123\",\n        \"zip_code\": \"95100\",\n        \"city\": \"Catania\",\n        \"province_id\": \"CT\",\n        \"country_id\": \"IT\"\n      }\n    },\n    \"invoice_body\": {\n      \"general_data\": {\n        \"doc_type\": \"TD01\",\n        \"currency\": \"EUR\",\n        \"date\": \"2025-01-31\",\n        \"invoice_number\": \"WEB9/2025\",\n        \"invoice_prefix\": \"WEB\",\n        \"invoice_suffix\": \"2025\"\n      },\n      \"provident_fund\": [],\n      \"total_document_amount\": \"19.98\"\n    },\n    \"purchase_order_data\": {\n      \"id\": \"#2575\",\n      \"date\": \"2025-01-31\"\n    },\n    \"connected_invoice_data\": [],\n    \"order_items\": [\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2563\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 2\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"4.99\",\n        \"total_price\": \"4.99\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 0.9\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2570\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 7\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"6.00\",\n        \"total_price\": \"6.00\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 1.08\n      },\n      {\n        \"item_code\": {\n          \"type\": \"INTERNO\",\n          \"value\": \"2569\"\n        },\n        \"item_type\": \"product\",\n        \"gift_product\": \"no\",\n        \"description\": \"Prod 6\",\n        \"quantity\": \"1.00\",\n        \"unit\": \"N.\",\n        \"discount_type\": \"\",\n        \"discount_percent\": \"\",\n        \"discount_amount\": \"\",\n        \"unit_price\": \"8.99\",\n        \"total_price\": \"8.99\",\n        \"rate\": \"0.00\",\n        \"total_tax\": 1.62\n      }\n    ],\n    \"payment_data\": {\n      \"terms_payment\": \"TP02\",\n      \"payment_amount\": \"19.98\",\n      \"payment_details\": \"MP02\",\n      \"beneficiary\": \"\",\n      \"financial_institution\": \"\",\n      \"iban\": \"\"\n    },\n    \"overrides\": {\n      \"bollo_force_apply\": false\n    },\n    \"pdf\": {\n      \"invoice_html\": \"on\",\n      \"doc_type_title\": \"Fattura\",\n      \"logo_url\": \"https://popapi.io/wp-content/themes/sedweb-kadence-child-theme-main/assets/img/pop.svg\",\n      \"head\": {\n        \"store_info_extra_data\": \"\",\n        \"store_info_address\": \"Via Roma, 123 Catania 95100 IT CT\"\n      },\n      \"billing\": {\n        \"first_name\": \"Alfio\",\n        \"last_name\": \"Piccione\",\n        \"company\": \"\",\n        \"address_1\": \"Via Roma 123\",\n        \"address_2\": \"\",\n        \"city\": \"Catania\",\n        \"state\": \"CT\",\n        \"postcode\": \"95100\",\n        \"country\": \"IT\",\n        \"email\": \"billing_email@gmail.com\",\n        \"phone\": \"1782361287\"\n      },\n      \"shipping\": {\n        \"first_name\": \"\",\n        \"last_name\": \"\",\n        \"company\": \"\",\n        \"address_1\": \"\",\n        \"address_2\": \"\",\n        \"city\": \"\",\n        \"state\": \"\",\n        \"postcode\": \"\",\n        \"country\": \"\",\n        \"phone\": \"\"\n      },\n      \"nature_rc\": \"\",\n      \"ref_norm_rc\": null,\n      \"ref_n5_normative\": \"Escluso Art.74 ter D.P.R. 633/72\",\n      \"total_tax\": \"3.6\",\n      \"footer_text\": \"Immettere il testo per il footer della fattura PDF.\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/create-pdf"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 10 Apr 2025 11:00:13 GMT"},{"key":"Content-Type","value":"text/html;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"SG-F-Cache","value":"BYPASS"},{"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":"Content-Disposition","value":"inline; filename=\"ITIT88888888888_00009\""},{"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":"<!DOCTYPE html>\n<html lang=\"it-IT\">\n    <head>\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n        <title>ITIT88888888888_00009</title>\n    </head>\n    <body>\n        <div class=\"doc-wrapper\">\n            <div id=\"pdf-content\" style=\"max-width:1024px;margin:0 auto;\">\n                <!-- head -->\n                <table class=\"head container\">\n                    <tr>\n                        <td class=\"header\" style=\"width:50%;min-width:300px\">\n                            <img alt=\"TEST123\" style=\"width:100%;min-width:220px;max-width:220px;\"\n src=\"https://popapi.io/wp-content/themes/sedweb-kadence-child-theme-main/assets/img/pop.svg\">\n                        </td>\n                        <td class=\"shop-info\" style=\"width:50%;min-width:500px;margin-left:100px;\">\n                            <div style=\"font-size:12px;\">\n                                <strong>Azienda</strong> TEST123\n                                <br>\n                                <strong>P.iva</strong> IT88888888888\n                                <br>\n                                <strong>Codice Regime Fiscale</strong> RF19\n                                <br>\n                                <strong>Indirizzo</strong> Via Roma, 123 Catania 95100 IT CT\n                                <br>\n                                <br>\n                            </div>\n                        </td>\n                    </tr>\n                </table>\n                <!-- doc type -->\n                <h1 style=\"font-size:18px;\">Fattura</h1>\n                <!-- order addresses - addresses.php -->\n                <table class=\"order-data-addresses\" style=\"width:100%\">\n                    <tr>\n                        <td class=\"address billing-address\"\n style=\"vertical-align:top;padding:0 10px 0 0;width:33%;vertical-align:top;\">\n                            <h5 style=\"margin-bottom:10px\">Indirizzo di fatturazione</h5>\n                            <div style=\"vert-align:top;font-size:12px;\"> Nome: Alfio\n                                <br>Cognome: Piccione\n                                <br>Indirizzo: Via Roma 123\n                                <br>Città: Catania\n                                <br>Provincia / Regione: CT\n                                <br>Codice Postale / CAP: 95100\n                                <br>Paese / Stato: IT\n                                <br>Email: billing_email@gmail.com\n                                <br>Telefono: 1782361287\n                                <br>Codice fiscale: PCCLFA75L04A494S\n                                <br>Codice univoco: 0000000\n                                <br>\n                            </div>\n                        </td>\n                        <td class=\"invoice invoice-data\" style=\"©;padding:0 10px 0 0;width:33%;vertical-align:top;\">\n                            <h5 style=\"margin-bottom:10px\">Pagamento</h5>\n                            <div style=\"vertical-align:top;font-size:12px;\"> Numero WEB9/2025\n                                <br> Data: 2025-01-31\n                                <br> Ordine: #2575\n                                <br> Natura operazione N2.2 Operazione non soggetta ad IVA\n                                <br>\n                                <p style=\"border-bottom:1px solid #ddd\"></p> Metodo di pagamento MP02 - Assegno bancario\n                                <br>\n                            </div>\n                        </td>\n                    </tr>\n                </table>\n                <!-- order details - details.php -->\n                <table class=\"order-details\" style=\"margin-top:2em;width:100%\">\n                    <!-- table header -->\n                    <thead>\n                        <!-- tr -->\n                        <tr style=\"background:#ddd;\">\n                            <th class=\"product\" style=\"text-align:left;font-size:12px;padding:5px;width:30%;\"> Descrizione</th>\n                            <th class=\"quantity\" style=\"text-align:left;font-size:12px;padding:5px;\"> Quantità</th>\n                            <th class=\"vat\" style=\"text-align:left;font-size:12px;padding:5px;\"> Aliquota</th>\n                            <th class=\"price-unit\" style=\"text-align:left;font-size:12px;padding:5px;\"> Prezzo unitario</th>\n                            <th class=\"discount\" style=\"text-align:left;font-size:12px;padding:5px;\"> Sconto</th>\n                            <th class=\"price\" style=\"text-align:left;font-size:12px;padding:5px;\"> Prezzo</th>\n                        </tr>\n                    </thead>\n                    <!-- / table header -->\n                    <!-- table body -->\n                    <tbody>\n                        <!-- tr -->\n                        <tr>\n                            <td style=\"width:30%;vertical-align:top;border-bottom:1px solid #ddd;\" class=\"product\">\n                                <div style=\"font-size:12px;padding:0 10px 0 0;\">\n                                    <strong class=\"item-name\"> Prod 2 </strong>\n                                    <br>\n                                </div>\n                            </td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"quantity\"> 1.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"vat\"> 0.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price-unit\"> € 4.99</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"discount\"> ***</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price\"> € 4.99</td>\n                        </tr>\n                        <tr>\n                            <td style=\"width:30%;vertical-align:top;border-bottom:1px solid #ddd;\" class=\"product\">\n                                <div style=\"font-size:12px;padding:0 10px 0 0;\">\n                                    <strong class=\"item-name\"> Prod 7 </strong>\n                                    <br>\n                                </div>\n                            </td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"quantity\"> 1.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"vat\"> 0.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price-unit\"> € 6.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"discount\"> ***</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price\"> € 6.00</td>\n                        </tr>\n                        <tr>\n                            <td style=\"width:30%;vertical-align:top;border-bottom:1px solid #ddd;\" class=\"product\">\n                                <div style=\"font-size:12px;padding:0 10px 0 0;\">\n                                    <strong class=\"item-name\"> Prod 6 </strong>\n                                    <br>\n                                </div>\n                            </td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"quantity\"> 1.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"vat\"> 0.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price-unit\"> € 8.99</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"discount\"> ***</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;\" class=\"price\"> € 8.99</td>\n                        </tr>\n                    </tbody>\n                    <!-- / table body -->\n                </table>\n                <!-- order totals - order-totals.php -->\n                <table style=\"width:100%;\" class=\"order-details\">\n                    <tr style=\"border-bottom:1px solid #ddd;\">\n                        <td style=\"width:72%;\"></td>\n                        <td style=\"background-color:#dddddd;border-bottom:1px solid #ddd;font-size:12px;padding:5px;\">\n                            <strong>Totali</strong>\n                        </td>\n                    </tr>\n                    <tr style=\"border-bottom:1px solid #ddd;\">\n                        <td style=\"width:72%;\"></td>\n                        <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;\"> Imponibile: \n                            <strong>€ 19.98</strong>\n                        </td>\n                    </tr>\n                    <tr style=\"border-bottom:1px solid #ddd;\">\n                        <td style=\"width:72%;\"></td>\n                        <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;\"> Totale tasse: \n                            <strong>€ 3.60</strong>\n                        </td>\n                    </tr>\n                    <tr style=\"border-bottom:1px solid #ddd;\">\n                        <td style=\"width:72%;\"></td>\n                        <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;\"> Rounding: \n                            <strong>€ -3.60</strong>\n                        </td>\n                    </tr>\n                    <tr style=\"border-bottom:1px solid #ddd;\">\n                        <td style=\"width:72%;\"></td>\n                        <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;\"> Totale \n                            <strong>€ 19.98</strong>\n                        </td>\n                    </tr>\n                </table>\n                <!-- order summary - summary.php -->\n                <h2 style=\"font-size:16px;\">Riepilogo Iva</h2>\n                <table class=\"summary\" style=\"width:100%;margin-top:2em;\">\n                    <thead>\n                        <tr style=\"background:#ddd;\">\n                            <th style=\"text-align:left;width:20%;\">Aliquota</th>\n                            <th style=\"text-align:left;width:20%;\">Totale imponibile</th>\n                            <th style=\"text-align:left;width:20%;\">Importo IVA</th>\n                            <th style=\"text-align:left;width:20%;\">Importo totale</th>\n                            <th style=\"text-align:left;width:20%;\">Natura operazione</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;width:20%;\"> 0.00%</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;width:20%;\"> € 19.98</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;width:20%;\"> € 0.00</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;width:20%;\"> € 19.98</td>\n                            <td style=\"border-bottom:1px solid #ddd;font-size:12px;padding:5px 0;width:20%;\">\n                                <b>N2.2</b>\n                                <br>\n                                <br>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n                <!-- footer - footer.php -->\n                <div class=\"footer\" style=\"margin-top:2em;padding:5px;background:#ddd;font-size:12px;\"> Immettere il testo per il footer della fattura PDF.</div>\n            </div>\n        </div>\n    </body>\n</html>"}],"_postman_id":"b94ccac9-e6d4-4fd5-9b1f-6d75a8afbeeb"},{"name":"{{base_url}}/wp-json/api/v2/create-ubl","id":"5b2828a6-86e5-4d20-96d4-e73911e5a4c3","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\": \"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":"39a63fa1-f4ea-4622-8bd6-ec33a9b87463","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:46:37 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":"5b2828a6-86e5-4d20-96d4-e73911e5a4c3"},{"name":"{{base_url}}/wp-json/api/v2/facturae-xml","id":"e835c7de-65cc-4c62-8689-7d0ce18066b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","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\": 3001,\n      \"filename\": \"FAC-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"XXXXXXX\",\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\": \"XXXXXXX\",\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      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"ES\",\n            \"id_code\": \"B12345678\"\n          },\n          \"company_name\": \"Cliente ES SL\",\n          \"first_name\": \"Carlos\",\n          \"last_name\": \"Lopez\",\n          \"email\": \"carlos@example.es\"\n        },\n        \"place\": {\n          \"address\": \"Calle Mayor 1\",\n          \"zip_code\": \"28001\",\n          \"city\": \"Madrid\",\n          \"province_id\": \"M\",\n          \"country_id\": \"ES\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"FAC/2026/0001\"\n        },\n        \"total_document_amount\": \"122.00\"\n      },\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"SERV-ES-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Servicio de consultoría\",\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\": \"POP Demo SRL\",\n        \"financial_institution\": \"Demo Bank\",\n        \"iban\": \"IT60X0542811101000000123456\"\n      },\n      \"overrides\": {\n        \"language\": \"ES\"\n      }\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/facturae-xml","urlObject":{"path":["wp-json","api","v2","facturae-xml"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"47bdfe2d-d5cf-4baf-a0cf-77edf62d3f17","name":"{{base_url}}/wp-json/api/v2/facturae-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\": 3001,\n      \"filename\": \"FAC-2026-0001\",\n      \"type\": \"invoice\",\n      \"version\": \"FPR12\",\n      \"sdi_type\": \"XXXXXXX\",\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\": \"XXXXXXX\",\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      },\n      \"transferee_client\": {\n        \"personal_data\": {\n          \"tax_id_vat\": {\n            \"country_id\": \"ES\",\n            \"id_code\": \"B12345678\"\n          },\n          \"company_name\": \"Cliente ES SL\",\n          \"first_name\": \"Carlos\",\n          \"last_name\": \"Lopez\",\n          \"email\": \"carlos@example.es\"\n        },\n        \"place\": {\n          \"address\": \"Calle Mayor 1\",\n          \"zip_code\": \"28001\",\n          \"city\": \"Madrid\",\n          \"province_id\": \"M\",\n          \"country_id\": \"ES\"\n        }\n      },\n      \"invoice_body\": {\n        \"general_data\": {\n          \"doc_type\": \"TD01\",\n          \"currency\": \"EUR\",\n          \"date\": \"2026-03-04\",\n          \"invoice_number\": \"FAC/2026/0001\"\n        },\n        \"total_document_amount\": \"122.00\"\n      },\n      \"order_items\": [\n        {\n          \"item_code\": {\n            \"type\": \"SKU\",\n            \"value\": \"SERV-ES-001\"\n          },\n          \"item_type\": \"product\",\n          \"description\": \"Servicio de consultoría\",\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\": \"POP Demo SRL\",\n        \"financial_institution\": \"Demo Bank\",\n        \"iban\": \"IT60X0542811101000000123456\"\n      },\n      \"overrides\": {\n        \"language\": \"ES\"\n      }\n    }\n  }","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/wp-json/api/v2/facturae-xml"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":":status","value":200},{"key":"server","value":"nginx"},{"key":"date","value":"Thu, 16 Apr 2026 12:19:40 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<fe:Facturae xmlns:fe=\"http://www.facturae.es/Facturae/2014/v3.2.1/Facturae\"><FileHeader><SchemaVersion>3.2.1</SchemaVersion><Modality>I</Modality><InvoiceIssuerType>EM</InvoiceIssuerType><Batch><BatchIdentifier>01879020517FAC/2026/0001</BatchIdentifier><InvoicesCount>1</InvoicesCount><TotalInvoicesAmount><TotalAmount>100.00</TotalAmount></TotalInvoicesAmount><TotalOutstandingAmount><TotalAmount>100.00</TotalAmount></TotalOutstandingAmount><TotalExecutableAmount><TotalAmount>100.00</TotalAmount></TotalExecutableAmount><InvoiceCurrencyCode>EUR</InvoiceCurrencyCode></Batch></FileHeader><Parties><SellerParty><TaxIdentification><PersonTypeCode>J</PersonTypeCode><ResidenceTypeCode>U</ResidenceTypeCode><TaxIdentificationNumber>01879020517</TaxIdentificationNumber></TaxIdentification><LegalEntity><CorporateName>AP srl</CorporateName><OverseasAddress><Address>Via Roma 1</Address><PostCodeAndTown>00100 Roma</PostCodeAndTown><Province>RM</Province><CountryCode>ITA</CountryCode></OverseasAddress></LegalEntity></SellerParty><BuyerParty><TaxIdentification><PersonTypeCode>F</PersonTypeCode><ResidenceTypeCode>R</ResidenceTypeCode><TaxIdentificationNumber></TaxIdentificationNumber></TaxIdentification><Individual><Name>Carlos</Name><FirstSurname>Lopez</FirstSurname><SecondSurname></SecondSurname><AddressInSpain><Address>Calle Mayor 1</Address><PostCode>28001</PostCode><Town>Madrid</Town><Province>M</Province><CountryCode>ESP</CountryCode></AddressInSpain></Individual></BuyerParty></Parties><Invoices><Invoice><InvoiceHeader><InvoiceNumber>FAC/2026/0001</InvoiceNumber><InvoiceSeriesCode></InvoiceSeriesCode><InvoiceDocumentType>FC</InvoiceDocumentType><InvoiceClass>OO</InvoiceClass></InvoiceHeader><InvoiceIssueData><IssueDate>2026-04-16</IssueDate><InvoiceCurrencyCode>EUR</InvoiceCurrencyCode><TaxCurrencyCode>EUR</TaxCurrencyCode><LanguageName>es</LanguageName></InvoiceIssueData><TaxesOutputs><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>22.00</TaxRate><TaxableBase><TotalAmount>81.97</TotalAmount></TaxableBase><TaxAmount><TotalAmount>18.03</TotalAmount></TaxAmount></Tax></TaxesOutputs><InvoiceTotals><TotalGrossAmount>81.97</TotalGrossAmount><TotalGeneralDiscounts>0.00</TotalGeneralDiscounts><TotalGeneralSurcharges>0.00</TotalGeneralSurcharges><TotalGrossAmountBeforeTaxes>81.97</TotalGrossAmountBeforeTaxes><TotalTaxOutputs>18.03</TotalTaxOutputs><TotalTaxesWithheld>0.00</TotalTaxesWithheld><InvoiceTotal>100.00</InvoiceTotal><TotalOutstandingAmount>100.00</TotalOutstandingAmount><TotalExecutableAmount>100.00</TotalExecutableAmount></InvoiceTotals><Items><InvoiceLine><ItemDescription>Servicio de consultoría</ItemDescription><Quantity>1</Quantity><UnitOfMeasure>01</UnitOfMeasure><UnitPriceWithoutTax>81.96721311</UnitPriceWithoutTax><TotalCost>81.97</TotalCost><GrossAmount>81.97</GrossAmount><TaxesOutputs><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>22.00</TaxRate><TaxableBase><TotalAmount>81.97</TotalAmount></TaxableBase><TaxAmount><TotalAmount>18.03</TotalAmount></TaxAmount></Tax></TaxesOutputs><ArticleCode>SERV-ES-001</ArticleCode></InvoiceLine></Items><PaymentDetails><Installment><InstallmentDueDate>2026-04-16</InstallmentDueDate><InstallmentAmount>122.00</InstallmentAmount><PaymentMeans>04</PaymentMeans><AccountToBeCredited><IBAN>IT60X0542811101000000123456</IBAN></AccountToBeCredited></Installment></PaymentDetails></Invoice></Invoices></fe:Facturae>"}],"_postman_id":"e835c7de-65cc-4c62-8689-7d0ce18066b2"}]}