{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"95be7111-603e-48fc-b2f1-81b36ce2ec99","name":"POP Cloud API (v2)","description":"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).\n\nLooking for the integrations? Check the [POP Cloud Integrations](https://documenter.getpostman.com/view/41622997/2sB2qgcxZM) docs.\n\n# API Endpoints\n\n- XML Invoice: {{base_url}}/wp-json/api/v2/create-xml (response: XML)\n    \n- PDF Invoice: {{base_url}}/wp-json/api/v2/create-pdf (response: PDF)\n    \n- UBL Invoice: {{base_url}}/wp-json/api/v2/create-ubl (response: XML UBL)\n    \n- Facturae (Spain): {{base_url}}/wp-json/api/v2/facturae-xml (response: XML Facturae)\n    \n\n### Request Body Parameters\n\nThe request body must be a JSON object containing the following fields:\n\nThe field descriptions list **all the fields** required for generating the invoice in XML format. However, for PDF generation, it is important that the JSON contains the **fields within the** **`pdf`** **object**, which is specifically dedicated to creating the PDF document.\n\n#### 1\\. **license_key** (string)\n\n- **Required**: Yes\n    \n- A unique key provided for API authentication.\n    \n\n#### 2\\. **data** (object)\n\nContains 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.\n\n- **id** (int)\n    \n    - **Required**: Yes\n        \n    - The order id\n        \n- **filename** (string)\n    \n    - **Required**: Yes\n        \n    - The desired filename for the generated XML file.\n        \n- **type** (string)\n    \n    - **Required**: Yes\n        \n    - 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).\n        \n- **version** (string)\n    \n    - **Required**: Yes\n        \n    - The version of the invoice format being used (e.g., \"FPR12\").\n        \n- **sdi_type** (string)\n    \n    - **Required**: Yes\n        \n    - 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.\n        \n- **customer_type** (string)\n    \n    - **Required**: Yes\n        \n    - The type of customer (company, freelance or private)\n        \n- **nature** (string)\n    \n    - **Required**: No\n        \n    - The nature code for IT invoice (e.g., \"N2.1\")\n        \n- **ref_normative** (string)\n    \n    - **Required**: No\n        \n    - The normative reference for IT invoice (e.g., \"Non imp. art.7 ter D.P.R. 633/72\")\n        \n- **vies** (bool)\n    \n    - **Required**: No\n        \n    - Identify whether the VAT number has passed or failed the VIES check, which is mandatory for the reverse charge\n        \n- **vat_kind** (string)\n    \n    - **Required**: No\n        \n    - Applicable only to Italian electronic invoices. Specifies the VAT collection scheme according to FatturaPA specifications. Allowed values:  \n        • 'I' – Immediate VAT  \n        • 'D' – Deferred VAT  \n        • 'S' – Split Payment\n        \n        Ignored for invoices issued in other countries.\n        \n\n#### 2.1. **transfer_lender** (object)\n\nContains 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.\n\n- **personal_data** (object)\n    \n    - **Required**: Yes\n        \n    - Contains the tax information of the transferor, including `tax_id_vat` and `company_name`.\n        \n- **place** (object)\n    \n    - **Required**: Yes\n        \n    - Address information of the transferor.\n        \n\n#### 2.2. **transferee_client** (object)\n\nContains 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.\n\n- **personal_data** (object)\n    \n    - **Required**: Yes\n        \n    - Contains the tax information of the recipient (e.g., `tax_id_vat`, `first_name`, `last_name`).\n        \n- **place** (object)\n    \n    - **Required**: Yes\n        \n    - Address information of the recipient.\n        \n\n#### 2.3. **invoice_body** (object)\n\nObject 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.\n\n- **general_data** (object)\n    \n    - **Required**: Yes\n        \n    - Contains general invoice information such as `doc_type`, `currency`, `date`, and `invoice_number`.\n        \n- **total_document_amount** (float|string)\n    \n    - **Required**: Yes\n        \n    - 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.\n        \n        Example (Italy): `1250.00` (for a total amount of 1250 euros).\n        \n\n#### 2.4. **order_items** (array)\n\nContains an array of items included in the invoice.\n\n- Each item object includes:\n    \n    - **item_code** (object): Contains a `type` and `value` for the item.\n        \n    - **description** (string): A brief description of the item.\n        \n    - **quantity** (string): The quantity of the item.\n        \n    - **unit** (string): The unit of measurement for the item (e.g., \"N.\" for number).\n        \n    - **unit_price** (string): The price per unit.\n        \n    - **total_price** (string): The total price for the item.\n        \n\n#### 2.5. **payment_data** (object)\n\nContains payment details for the invoice.\n\n- **terms_payment** (string)\n    \n    - **Required**: Yes\n        \n    - The payment terms (e.g., \"TP02\" for immediate payment).\n        \n- **beneficiary** (string)\n    \n    - **Required**: No\n        \n    - If the payment is of the MP05 type (bank transfer) it must be indicated\n        \n- **financial_institution** (string)\n    \n    - **Required**: No\n        \n    - If the payment is of the MP05 type (bank transfer) it must be indicated\n        \n- **iban** (string)\n    \n    - **Required**: No\n        \n    - If the payment is of the MP05 type (bank transfer) it must be indicated\n        \n- **payment_details** (string)\n    \n    - **Required**: Yes\n        \n    - Indicate the type of payment (MP01 (cash), MP05 (bank transfer), MP02 (cheque), MP08 (credit card), MP19 (Sepa))\n        \n- **payment_amount** (string)\n    \n    - **Required**: Yes\n        \n    - The total payment amount.\n        \n\n#### 2.6. purchase_order_data (object)\n\nIf it is an invoice, indicate the order ID and date\n\n- **id** (string)\n    \n    - **Required**: Yes\n        \n    - ID of the order\n        \n- **date** (string)\n    \n    - **Required**: Yes\n        \n    - date of the order\n        \n\n#### 2.7. connected_invoice_data (object)\n\nIf it is a credit note, the related invoice must be indicated\n\n- **id** (string)\n    \n    - **Required**: Yes (If it is a credit note)\n        \n    - ID of the linked invoice\n        \n- **date** (string)\n    \n    - **Required**: Yes (If it is a credit note)\n        \n    - date of the connected invoice\n        \n\n#### 2.8. overrides (object)\n\nContains parameters that allow overriding some features\n\n- **bollo_force_apply** (bool)\n    \n    - **Required**: No\n        \n    - A flag indicating whether to force the application of the virtual stamp.\n        \n\n#### 2.9. **pdf** (object)\n\nContains 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.\n\n- **invoice_html** (string)\n    \n    - **Required**: Yes\n        \n    - A flag indicating whether to generate the HTML for the invoice.\n        \n- doc_type_title (string)\n    \n    - **Required**: Yes\n        \n    - The document title (e.g., Invoice, Receipt, Credit Note)\n        \n- **logo_url** (string)\n    \n    - **Required**: No\n        \n    - The logo image url\n        \n- **head** (array)\n    \n    - **Required**: Yes\n        \n        - store_info_address (string)  \n            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.\n            \n- **billing** (array)  \n    Contains the billing details of the customer. This includes personal information, address, and contact details necessary for invoicing.\n    \n    - **Required**: Yes\n        \n        - first_name – The first name of the customer.\n            \n        - last_name – The last name of the customer.\n            \n        - company – The company name, if applicable.\n            \n        - address_1 – The primary billing address, including street name and number.\n            \n        - city – The city associated with the billing address.\n            \n        - state – The state or province of the billing address, if applicable.\n            \n        - postcode – The postal or ZIP code of the billing address.\n            \n        - country – The country code (ISO 3166-1 alpha-2) of the billing address.\n            \n        - email – The customer's email address.\n            \n        - phone – The customer's phone number.\n            \n- **shipping** (array)\n    \n    - **Required**: No\n        \n        - first_name – The first name of the recipient.\n            \n        - last_name – The last name of the recipient.\n            \n        - company – The company name, if applicable.\n            \n        - address_1 – The primary shipping address, including street name and number.\n            \n        - city – The city associated with the shipping address.\n            \n        - state – The state or province of the shipping address, if applicable.\n            \n        - postcode – The postal or ZIP code of the shipping address.\n            \n        - country – The country code (ISO 3166-1 alpha-2) of the shipping address.\n            \n        - email – The recipient's email address.\n            \n        - phone – The recipient's phone number.\n            \n- **nature_rc** (string)\n    \n    - **Required**: No\n        \n    - The nature of the transaction. This field is optional and specifies the type of operation for tax purposes.\n        \n- **ref_norm_rc** (string)\n    \n    - **Required**: No\n        \n    - The regulatory reference for the specified transaction nature. This field is optional and provides the legal framework applicable to the operation.\n        \n- **ref_n5_normative** (string)\n    \n    - **Required**: No\n        \n    - 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.\n        \n- **total_tax** (string)\n    \n    - **Required**: Yes\n        \n    - The total amount of taxes applied to the invoice. This field is required and should represent the sum of all applicable taxes.\n        \n- **footer_text** (string)\n    \n    - **Required**: No\n        \n    - 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.\n        \n- **email_invoice** (object)\n    \n    - **Required**: No\n        \n    - 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.\n        \n\n``` json\n\"email_invoice\": {\n  \"to\": [\"customer@example.com\"],\n  \"from\": \"invoice@email.it\",\n}\n\n ```\n\n## XML Invoice (FatturaPA):\n\n{{base_url}}/wp-json/api/v2/create-xml (response: XML)\n\n``` json\n{\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 ```\n\n## XML Invoice (Facturae - Spain):\n\n{{base_url}}/wp-json/api/v2/facturae-xml (response: XML Facturae)\n\n``` json\n{\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 ```\n\n## **PDF Invoice:**\n\n{{base_url}}/wp-json/api/v2/create-pdf (response: PDF)\n\n``` json\n{\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 ```","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"41622997","team":6738247,"collectionId":"95be7111-603e-48fc-b2f1-81b36ce2ec99","publishedId":"2sAYkLmGT8","public":true,"publicUrl":"https://documenter-api.postman.tech/view/41622997/2sAYkLmGT8","privateUrl":"https://go.postman.co/documentation/41622997-95be7111-603e-48fc-b2f1-81b36ce2ec99","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2025-03-26T16:36:54.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/021466e392e7fd7d9d1ae777e981122aeb56f867882a97305e500425eb0dc2c1","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sAYkLmGT8"}