View Product Page

Invoice options

From the General Options tab you can configure the plugin’s general options. Here, we’re going to focus on the Invoice options section:

Invoice general options
  • Invoice creation: either manually or automatically. For more details on how to generate an invoice, refer to this post.
  • Date of invoice creation: this option only appears when choosing ‘Automatic’ invoice creation. It consists of the following options:
    • Date of order creation.
    • Date of the invoice, when the order changes to processing status.
    • Date of the invoice, when the order changes to completed status.
  • Date to show in the invoice: date to show on the invoice:
    • Date of order creation.
    • Date the order is completed.
    • Date of invoice creation.
  • Invoice numbers: how to generate invoice numbers:
    • Use order number.
    • Use order ID.
    • Start sequential numbering from a specific number.
  • Enforce minimum invoice number length: set a minimum invoice number length. In case the invoice number won’t match this value, a prefix with zeros will apply.
  • Number of digits: minimum number of digits for the invoice number.
  • Avoid invoice generation for orders with value “0”: This prevents invoices from being generated if the order value is “0”.
  • Enable electronic invoice (Italian customers): specific options for Italian customers that comply with the Italian standards to sell goods online. For more details regarding this option, you can refer to this post.
  • Viewing generated documents: decide if the customer can:
    • Download the files as a PDF.
    • Open the file in the same browser tab.
    • Open the file in a new browser tab.

Sequential numbering

Sequential numbering options

When selecting “Start sequential numbering from a specific number” in the “invoice numbers” dropdown, you will see a set of new options.

  • Start invoice number from: the invoice numeration is sequential and begins from the value specified in this field (if empty, the first invoice will be “1”).
  • Reset on 1st January: reset the numeration and restart its cycle at the beginning of the new calendar year.
  • Avoid duplicate invoices: old invoice numbers will be checked before creating a new one, to avoid duplication.

The value specified in the image automatically increases and shows the next invoice number that will be generated.
If you change the value and save new settings, the first new invoice will no longer follow the previous numeration, but it will begin from the new specified value.

Ways to generate an invoice

Manual generation

To generate an invoice manually, go to the Order edit page and create the PDF from the metabox.

create pdf from order edit

Automatic generation

If you choose to generate invoices automatically, the document will be created at the moment of your choice, when:

  • order is created
  • order acquires the “processing” status
  • order acquires the “completed” status

Bulk generation

Use the option to generate or regenerate the packing slip and/or invoice.Generate invoices and packing slips with bulk actions

Pro-forma options

From YITH > PDF Invoices & Packing Slips > General options > “Pro-forma options” you can enable the pro-forma options.

Pro-forma options
  • Allow users to download pro-forma document in my account: users can find and download pro-forma from their My Account page.
  • Allow pro-forma in new orders emails: pro-forma will be sent as an attachment to their order emails.

Download from My Account

Proforma download in My Account

The pro-forma document is automatically generated by the system. The user is able to see it on their My Account page, and the admin can see it from the edit order page.

Pro-forma example

It differs from a normal invoice for not having an invoice number.

Example of a proforma

Receipt options

You can let your customers choose whether they need an invoice or a receipt for their order during the checkout.

To make sure they can choose, just go to YITH > PDF Invoices & Packing Slips> General options > “Receipts options”

Receipts options

On checkout, the user is able to select the option of his choice.

In the orders list, the admin will be able to see “View receipt” if the user selected that option.

view receipt

Credit notes options

The credit notes can be generated when an order refund is granted.

Go to YITH > PDF Invoices & Packing Slips > General Options > “Credit notes options”.

Credit notes options
  • Credit note sequential numbers start from: number for next credit note (if empty, the first credit note will be 1)
  • Reset on January 1st: reset and restart sequential numbering from “1” each 1st January.

Now you can regenerate, create XML or remove a credit note for each applied refund directly from the order detail page.

Credit note for refunded orders

The customer will be able to see and download the credit note from the orders section on their account.

Credit note on My Account

Packing slip options

Go to YITH > PDF Invoices & Packing Slips > General options > “Packing slip options”.

Packing slip options
  • Packing slip generation: it can be generated automatically or manually.

Manual packing slip generation

The site administrator can only manually generate the document through the specific button on the order detail page.

create packing slip order edit
Packing slip example
Packing slip example

How to enable SSN/VAT fields

In YITH > PDF Invoices > General options > “Checkout options” you will find the SSN (Social Security Number) and VAT field options.

Checkout options

You can decide to show/hide them on the checkout page, and to make them  mandatory or not.

(Making the fields mandatory applies to ALL users).

vat and ssn in checkout

The VAT and SSN fields can be shown in PDF documents generated by the plugin, as explained on this page of documentation.

Actions on order page

Each generated document can be viewed, removed and regenerated at any time. To apply an action on the invoice/credit note/packing slip/proforma, go to the right side of the order detail page and click on the specific button(s).

Actions on documents

Documents format

Documents format

All generated documents (invoices, credit notes, pro-forma, packing slips) are saved with a default name provided by the plugin. However you can easily change this in YITH > PDF Invoices & Packing Slips > “Documents format”.

  • Date format for all documents: Choose the date format as it appears on the documents.

Invoices format

Invoices format
  • Add prefix/suffix to the invoice number: decide to show a custom text before/after the invoice number.
  • Invoice prefix: text before the invoice number.
  • Invoice suffix: text after the invoice number.
  • Invoice number format: how to show the invoice number, created using placeholders. (the [number] placeholder is required).
  • Invoice file name format: how to show the file name, created using placeholders. (the [number] placeholder is required).

Credit notes

Credit notes format
  • Add prefix/suffix to the credit note number: decide to show a custom text before/after the credit note number.
  • Credit note prefix: text before the credit note number.
  • Credit note suffix: text after the credit note number.
  • Credit note format: how to show the credit note number, created using placeholders. (the [number] placeholder is required).
  • Credit note name format: how to show the file name, created using placeholders. (the [number] placeholder is required).

Pro-forma invoice format

Pro-forma invoice format
  • Pro-forma invoice file name format: how to show the pro-forma file name, created using placeholders. (the [number] placeholder is required).

Packing slips format

Packing slips format
  • Packing slip file name format: how to show the packing slip file name, created using placeholders. (the [number] placeholder is required).
Placeholders for file name

You can use the following placeholders to set the file format:

  • [number]: document invoice number
  • [prefix]: invoice number prefix, if any
  • [suffix]: invoice number prefix, if any
  • [year]: year of document generation, 4-figure format
  • [month]: month of document generation, 2-figure format
  • [order_number]: order number

Save invoice

Invoices are saved in the “Invoices” folder by default. You can find this folder in “wp-content > uploads >ywpi-pdf-invoice” of your WordPress installation.

In case you want to set a custom path for saving, you can use [year], [month] and [day] as placeholders (according to the date that is generated).

Documents storage

Path example

If you gave in: “Invoices/[year]/[month]” an invoice generated on “17 February 2016” will be saved in the path “invoices/2016/02”.

Invoice folder

Dropbox

You can automatically back up and save all generated PDF documents in Dropbox. It’s updated almost instantly.

Go to Settings > Documents Storage and enable the “Automatically upload documents to Dropbox” option.

Dropbox sync settings
Step 1

As a first step, you will be able to choose the name of the Dropbox folder where the documents will be saved.

The plugin will create the folder in the “Apps” Dropbox folder at the following path:

Apps > YITH WooCommerce PDF Invoice and Shipping List > Invoices (where “Invoices” is the name you choose).

Step 2

Then, you can paste the Dropbox authorization code. Let’s see how to find it.

Click on the “Get your Dropbox authorization code” link and you will be redirected to a login screen.

Dropbox authorization code
Dropbox login

Enter your Dropbox account credentials, or if you don’t have one yet, create a new Dropbox account.

Step 3

After doing that, you will be requested to allow folder permissions, click on Allow to proceed.

Step 4

Dropbox will display the Access token that you can simply copy and paste in the “Dropbox authorization code” option in the plugin settings.

Dropbox access token

Note: the code has to be entered within a minute from its generation. If you exceed this time, you will have to generate the code again.

step 6

This is an example of how the invoice is saved in Dropbox.

Step 7 – disabling dropbox

If you need to disconnect your Dropbox account, you can simply switch the related toggle option back to OFF in the Documents storage settings.

Disconnect Dropbox

Google Drive

You can automatically back up all generated PDF documents in Google Drive. The backup is immediate.

Automatically back up documents on Google Drive

Following we analyze each individual step for the saving process to work correctly.

Step 1

Create a project into the API Manager, your screen should look similar to this:

api services
Step 2

Start off by clicking on the project selection link and click on the “New Project” button:

Select project api
Step 3

In the next step, add a Project name and create it.

new project api
Step 4 Creating a Client ID

The Client ID is mandatory for Google. To get one:

Go to the API Manager > Credentials:
All your API Keys are displayed in the API Manager

api credentials
Step 5

Create new OAuth client ID credentials:

request consent api
Step 6

You must configure a Consent Screen:

configure consent screen api
Step 7

Pick external, because you are going to use your Google account for authentication.

api auth consent screen exteral
Step 8

On the consent screen provide the “Application Name” and the Email Address
You can skip Scopes and Test Users for now.

Go back to Credentials → Create Credentials → OAuth client ID. In the resultant screen, you can pick one of two options:

credentials external consent screen api
Step 9

After continue, you will see the Client ID and the password that you will use in our plugin fields.

api auth client is created (1)
Step 10 Enabling the Client ID for Google Drive

Navigate to the API Library page and search for Google Drive API.
Click on “Enable” to enable the API service.

enable google drive api
Step 11 publish your project

Go to the “OAuth Consent Screen” in your Google Console, and click on the button “Publish App” and that’s all:

Publish App api google
Step 12 Add your Redirect URI

Go to Credentials > Open your credentials configuration and add the Redirect URI in the Authorised redirect URIs section.

authorize redirect urls api google drive
Step 13
Google drive authorization code

You can find the Redirect URI in the “Google Drive Authorization Code” option of the plugin.

Step 14 change storage folder name
Google Drive folder name
Step 15 disable google drive storage
Disable google drive automatically back up

You can easily disable the Dropbox storage option by using the toggle.

Default template

To use the default template for your PDF documents, go to YITH > PDF Invoices & Packing Slips > PDF Templates > Settings and select Use the default template in the option PDF template to use.

A new tab, Style, will appear under the Settings tab if you select the option of default templates (please, refer to this section in the documentation regarding the Style options).

Default template option

Settings

In the Settings tab, besides which PDF template to use, you will be able to configure the following options:

Company information options

You can set here everything related to your company information in the invoices: company name, logo, and details, and choose whether to show them or not by selecting the related checkboxes.

Company information options

Invoice and pro-forma template settings

In this section, you can configure other settings that should appear on the invoice and on the pro-forma invoice.

Invoice and pro-forma template settings

Choose the order info to show from the order number, order date, order amount, and order payment method.

You can also print the customer’s details related to the invoice or the pro-forma using the placeholders provided (check the complete placeholders list here).

You can choose to enable notes and a footer on the invoice and the proforma invoice. When you enable these options, you will see the according fields where you can add your text:

  • Invoice notes
  • Pro-forma invoice notes
  • Invoice footer
  • Pro-forma invoice footer
  • Show footer only on the last page
Invoice and pro-forma template settings
Invoice and pro-forma template settings

There are extra options to decide whether you want to show or hide certain information in the Total section:

  • Show order subtotal inclusive of order discount.
  • Show the order discount in the invoice summary accounts.
  • Show broken-down taxes in the invoice summary.

Visible columns:

  • Product picture
  • Product SKU
  • Product short description
  • Product variation
  • Quantity
  • Regular price
  • On sale price
  • Product price
  • Line total
  • Tax
  • Tax percentage
  • Total (incl. tax)
  • Show discount percentage

Credit note template setting

Here you can configure the settings that should show on the credit note.

Credit note template settings

Decide to enable notes and a footer on the credit note. When you enable these options, you will see the according fields where you can add your text:

  • Notes on credit notes
  • Credit note footer

There are other options related to which information to show:

  • Info to show: decide to show or hide this information on the credit note:
    • Product name
    • Product SKU
    • Product Image
  • Show subtotal
  • Show total tax
  • Show positive amounts: Show amounts with positive values (if necessary for your country).

Packing slip template settings

Here you can configure other settings that should appear on the packing slip.

Packing slip template settings

Print the customer’s details related to the packing slip using the placeholders provided (check the complete placeholders list here).

Decide to enable notes and a footer on the packing slip. When you enable these options, you will see the according fields where you can add your text:

  • Packing slip notes
  • Packing slip footer

Packing slip template settings
  • Show order totals: decide to show or not show the order total.

Visible columns:

  • Product picture
  • Product SKU
  • Weight and dimension
  • Product short description
  • Product variation
  • Quantity
  • Regular price
  • On sale price
  • Product price
  • Line total
  • Tax
  • Tax percentage
  • Total (incl. tax).
  • Show discount percentage

Style options

If you have chosen to use the default template, you can change the template of your documents through the Style section.

There are 3 default templates that come with the plugin (if you wish to have a templated with advanced customization, we suggest to check the options of the Custom templates from this page).

Default document templates

The 3 styles available that come with the plugin are the following:

  • Default
  • Black & White
  • Modern stripes

Based on the selection you make here, the options below will change. These options allow you to change the colors of your selected template. (It is not possible to get a live preview of the changes).

Default template style options

Depending on the template you choose, you can change the following colors:

  • Background color(s)
  • Borders color
  • Invoice number color
  • Table header color
  • Table header font color
  • Data section color
  • Total section color

Default template example

default template style

Black and white template example

Black and white default template style

Modern stripes template example

Modern stripes default template style

Custom templates

To create custom templates for your PDF documents, go to YITH > PDF Invoices & Packing Slips > PDF Templates > Settings and select Create and choose a custom templates.

A new tab, Templates, will show under the Settings tab if you select the option of custom templates (please, refer to this section in the documentation regarding the Templates options)

Custom template

To edit the default PDF template and create new ones, make sure to enable Gutenberg first.

Settings

In the Settings tab, you will be able to choose a different template for each document: invoice, pro-forma, packing slip, and credit note. Select one from the dropdown to set it as the template for that specific document.

Custom template document selection

You can also enable the option to show amounts with positive values (if necessary for your country) for the credit note.

How to create a new template

In the Templates tab you will find the list with all the available custom templates. Click on the button +Add new template then select one of the available templates and enter a title to identify it.

PDF custom templates list

In this list, you can also use the action buttons to edit, duplicate or delete an existing template.

Please note – to use the other 8 templates available in the plugin library, you need to have a valid and active license.

PDF template edit page

You can upload a background image and enter your company name in the Footer, and, if the template will have more than one page, use the placeholder {PAGENO} to show the number of the page in the PDF.

Add footer to PDF template

The available blocks are:

Customer info

If you want to show the customer details in the PDF template, you can take advantage of the Customer info block. When adding this block, you will find a set of options and you will be able to rename “customer info” as you prefer.

How to add customer info to the PDF template

Customer data will be added through the following placeholders:

  • {{billing_first_name}}
  • {{billing_last_name}}
  • {{billing_vat_number}}
  • {{billing_vat_ssn}}
  • {{billing_receiver_type}}
  • {{billing_invoice_type}}
  • {{billing_company}}
  • {{billing_country}}
  • {{billing_address_1}}
  • {{billing_address_2}}
  • {{billing_city}}
  • {{billing_state}}
  • {{billing_receiver_id}}
  • {{billing_postcode}}
  • {{billing_phone}}
  • {{billing_receiver_pec}}
  • {{billing_email}}g_postcode}}
  • Dimensions: set the margin (right, top, bottom, left) and padding (in px).
  • Color: set the color for the text and/or background.
  • Typography: set the size, appearance, line height, letter spacing.
  • Advanced: here, you can enter additional CSS classes.

Shipping info

To show the shipping info in the PDF template, you can use the Shipping info block. When adding this block, you will find the following set of options.

Shipping info will be added through the following placeholders:

  • {{shipping_first_name}}
  • {{shipping_last_name}}
  • {{shipping_company}}
  • {{shipping_country}}
  • {{shipping_address_1}}
  • {{shipping_address_2}}
  • {{shipping_city}}
  • {{shipping_state}}
  • {{shipping_postcode}}
  • Color: set the color for the text and/or background.
  • Typography: set the size, appearance, line height, and letter spacing.
  • Advanced: here, you can enter additional CSS classes.

Product table

To show the product table in the PDF template, you can use the Product table block. When adding this block, you will find the following set of options.

Invoice

 

Enable/disable the info you want to show in the PDF:

  • product thumbnail
  • product name
  • product SKU
  • description
  • weight
  • dimensions
  • quantity
  • regular price
  • sale price
  • price
  • discount percentage
  • tax
  • show percentage tax
  • total
  • total with taxes
  • Show/Hide additional items: choose whether to show
    • Fees
    • Shipping
  • Titles:
    • color
    • border color
    • size
    • letter case
  • Items
    • color
    • border color
    • size
    • letter case
  • Advanced: here, you can enter HTML anchor and additional CSS classes.
Product table block example

Credit note

Enable/disable the info to show by choosing among:

  • product thumbnail
  • product name
    • product SKU
    • description
  • refund description
  • total
  • Show/Hide additional items: choose whether to show
    • Fees
    • Shipping
Credit note block options

Date

To show the date in the PDF template, you can use the Date block. When adding this block, you will find the following set of options.

Add date to the PDF template
  • Order date type: choose the date to show from
    • order creation date
    • order completed date
    • invoice creation date
    • current date
  • Dimensions: set the margin (right, top, bottom, left) and padding (in px).
Date block options
  • Color: set the color for the text and/or background.
  • Typography: set the size, line height, letter case, and letter spacing.
  • Advanced: here, you can enter additional CSS classes.
Date block example

Order number

To show the order number in the PDF template, you can use the Order number block. The available placeholder is {{order_number}}. When adding this block, you will find the following set of options.

Order number block for PDF template
  • Dimensions: set the margin (right, top, bottom, left) and padding (in px).
Order number block options
  • Color: set the color for the text and/or background.
  • Typography: set the size, line height, letter case, and letter spacing.
  • Advanced: here, you can enter additional CSS classes.
Order number block example

Document number

To show the document number in the PDF template, you can use the Document number block. The available placeholder is {{document_number}}. When adding this block, you will find the following set of options.

Add document number to PDF template
  • Dimensions: set the margin (right, top, bottom, left) and padding (in px).
Document number block options
  • Color: set the color for the text and/or background.
  • Typography: set the size, line height, letter case, and letter spacing.
  • Advanced: here, you can enter additional CSS classes.
Document number block example

Order amount

To show the order amount in the PDF template, you can use the Order amount block. The available placeholders are: {{order_amount}} and {{refunded_amount}} (for the credit note). When adding this block, you will find the following set of options.

Invoice/Credit note

  • Dimensions: set the margin (right, top, bottom, left) and padding (in px).
  • Color: set the color for the text and/or background.
  • Typography: set the size, line height, letter case, and letter spacing.
  • Advanced: here, you can enter additional CSS classes.
Order amount block example

Total table

To show the total table in the PDF template, you can use the Total table block. When adding this block, you will find the following set of options.

Invoice

Total table block

Enable/disable the info you want to show in the PDF:

  • order discount in the invoice summary amounts
    • order subtotal inclusive of order discount
  • broken down taxes in the invoice summary

Table settings:

  • Color: choose the color for the table
  • Background color: choose the background color for the table
  • Size
Total table options
  • Subtotal labels: choose the color and size for subtotal labels.
  • Total settings: choose the color and size for the total.
  • Advanced: here, you can enter HTML anchor and additional CSS classes.
Total table block example

Insert new user details in documents

To insert any information related to the user, for either the customer invoice and/or the packing slip details, use the postmeta metakeys as placeholders within double curly brackets.

For example: {{_shipping_first_name}} to show the order shipping first name.

Customer invoice details
Customer packing slip details

Below, the complete list of placeholders that you can use:

  • {{_customer_note}}
  • {{_customer_user}}
  • {{_order_key}}
  • {{_order_currency}}
  • {{_billing_first_name}}
  • {{_billing_last_name}}
  • {{_billing_company}}
  • {{_billing_address_1}}
  • {{_billing_address_2}}
  • {{_billing_city}}
  • {{_billing_state}}
  • {{_billing_postcode}}
  • {{_billing_country}}
  • {{_billing_email}}
  • {{_billing_phone}}
  • {{_shipping_first_name}}
  • {{_shipping_last_name}}
  • {{_shipping_company}}
  • {{_shipping_address_1}}
  • {{_shipping_address_2}}
  • {{_shipping_city}}
  • {{_shipping_state}}
  • {{_shipping_postcode}}
  • {{_shipping_country}}
  • {{_completed_date}}
  • {{_paid_date}}
  • {{_edit_lock}}
  • {{_edit_last}}
  • {{_cart_discount}}
  • {{_cart_discount_tax}}
  • {{_order_shipping}}
  • {{_order_shipping_tax}}
  • {{_order_tax}}
  • {{_order_total}}
  • {{_payment_method}}
  • {{_payment_method_title}}
  • {{_transaction_id}}
  • {{_customer_ip_address}}
  • {{_customer_user_agent}}
  • {{_created_via}}
  • {{_order_version}}
  • {{_prices_include_tax}}
  • {{_date_completed}}
  • {{_date_paid}}
  • {{_payment_tokens}}
  • {{_billing_address_index}}
  • {{_shipping_address_index}}
  • {{_recorded_sales}}
  • {{_recorded_coupon_usage_count}}

How to overwrite documents templates

All the templates used by the plugin are available in the templates path templates > yith-pdf-invoice.

To overwrite each document template it is essential to repeat the specific files in your theme “woocommerce” folder (in case it is not included, you must create it).

Copy and paste files in your theme “woocommerce” folder, by including them in the “yith-pdf-invoice” folder.

Copy files

Please note. Plugin updates will be ignored in your site for the files you have overwritten.
For the Black & White template or the Modern Stripes template, dedicated folders are added.
overwrite

Electronic Invoicing for Italian companies

Since 1st January 2019, the Italian government requires a specific standard for all the companies that sell goods online. All of them are required to issue an electronic invoice for each order and to provide the Italian Agenzia delle Entrate with all invoices in a specific format.

This plugin includes a section that has been specifically developed to give Italian companies an easy tool to generate this required file, together with the PDF file.

If your company is based in Italy and if you sell online, you will be required an .xml file for every order placed in your online shop.

This plugin will help you do that the right way and without much trouble.

Go to the plugin settings at YITH > PDF Invoices & Packing Slips > General Options > Invoice options and enable the option called Abilita la fatturazione elettronica (clienti italiani)

Then, save the changes. After enabling the option, you’ll see the tab in the plugin called Fatturazione elettronica, where you can enter your company details so they will appear in the .XML file.

Electronic invoice tab

Specifically, you will be able to configure the following options:

Impostazioni generali

Impostazione generali

The first section is about the file name format, which is made out of 5 characters, two letters and three numbers.

Soggetto o azienda trasmittente

Next, you find a section where you can enter all your details.

Soggetto trasmittente 1
Soggetto trasmittente 2
Soggetto trasmittente 3
  • Codice fiscale azienda
  • Partita IVA azienda
  • Regime Fiscale
  • Esigibilità IVA
  • Nome registrato azienda
  • Nome persona fisica
  • Cognome persona fisica
  • Contatto telefonico
  • Indirizzo email
  • Indirizzo
  • CAP
  • Città dell’azienda
  • Provincia azienda

Terzo intermediario

In this section, it is possible to configure the details of a third-party company that is issuing the invoice, if applicable. You will be able to add the following details:

Terzo intermediario 1
Terzo intermediario 2
  • Numero partita IVA
  • Nazione
  • Numero codice fiscale
  • Denominazione
  • Nome
  • Cognome
  • Titolo
  • Numero del Codice EORI

Impostazioni Checkout

In the last section, you can configure checkout options:

Impostazioni checkout 1
Impostazioni checkout
  • Etichetta per tipologia utente
  • Etichetta Codice Destinatario
  • Etichetta PEC Destinatario
  • Messaggio Codice Destinatario/PEC obbligatori: here you can enter a custom message to show whenever the receiver ID or the PEC email address is required.
  • Messaggio Intestazione azienda obbligatoria: here you can enter a custom message to show when the company name is required.
  • Messaggio Partita IVA obbligatoria: here you can enter a custom message to show whenever the VAT number is required.
  • Messaggio Codice Fiscale obbligatorio: here you can enter a custom message to show whenever the Fiscal Code (SSN) is required.
  • Messaggio Codice Destinatario errato: enter here a custom error message when the code validation returns an error.
  • Messaggio Codice Fiscale errato: enter here a custom error message when the code validation returns an error.

Checkout page on the customer side

Whenever your customers are on the checkout page, they will be asked to fill in their details.

The plugin updates the checkout fields dynamically based on what the customer selects in the field Company Name: this way, whether the customer is a private entity or a company, they will be asked to fill in only the right information. Following you can see how it’s updated:

  1. Italian company/freelancer:

    • Company VAT number is required for a company, but optional for freelancers
    • One between Codice destinatario and PEC email address is required

  2. Company/freelancer from other countries:

    • Company VAT number is required for a company, optional for freelancers, but the extra fields will not show up

     

  3. Italian private subject:

    • Codice fiscale is required but the extra fields will not show up

     

  4. Private customer from other countries:

    • SSN number is optional

Download the .XML file

Now, if you have configured all the other settings for the generation of automatic invoices, whenever a new invoice is generated also the .xml file will be generated. You can see it on the right side, in the box Invoice status.

Click on the XML button to download the file.

Download xml invoice file

Please, note: if you can’t see the .XML button in the order details, make sure to disable the option for the preview (YITH > PDF Invoices & Packing Slips > Preview Mode), because the .XML file cannot be generated out of a preview.

User side

Now I am sure you are wondering, what will the customer see exactly?

The customer will be able to see the created documents on his “My Account” > “Orders” page.

My account page

The buttons that you see here are not customizable with the plugin, these depend on the theme you use. For the example above, we used our own free YITH Proteo Theme.

YITH Frontend Manager for WooCommerce

YITH Frontend Manager for WooCommerce adds a frontend dashboard to your site through which the administrator and shop managers can manage orders, products, and coupons as they would do from WordPress dashboard.

The only thing you need to do, is install both premium plugins and that is it.

pdf frontend

From the frontend dashboard you will now be able to generate pdf invoices, packing slips and credit notes.

YITH Point of Sale for WooCommerce

YITH WooCommerce Point of Sale allows you to turn your WooCommerce installation into an easy-to-use and powerful cash register for each type of store or business..

The combined use with YITH PDF Invoices allows showing the fields (VAT and SSN and fields related to the Italian Electronic Invoicing) added by the PDF Invoices plugin.

When creating a new customer profile or editing an existing one, YITH PDF Invoices fields will show in the form.

VAT and SSN fields

Additional fields will show when using Electronic Invoicing for Italian customers.

Italian electronic invoice fields

For further details about YITH Point of Sale settings, please refer to the official documentation.

YITH WooCommerce Checkout Manager

YITH WooCommerce Checkout Manager is a plugin that allows you to customize the checkout fields by adding, removing or editing any of them. You can take advantage of many types of fields.

The combination with YITH WooCommerce PDF Invoices & Packing Slips allows you to also edit the fields (VAT and SSN) that the PDF invoice plugin adds to the checkout.

integration pdf +checkout manager

Just make sure you have enabled and activated both plugins to make the integration work. No other action from your side is required.

To read more about the settings of YITH Checkout Manager, please, refer to the official plugin documentation.

YITH WooCommerce Delivery Date

With the YITH WooCommerce Delivery Date plugin you can allow your customers to choose a specific delivery date for the products they purchase.

By activating both plugins, a new option will become available in the YITH > PDF Invoices & Packing Slips > General Options“YITH WooCommerce Delivery Date integration”.

YITH Delivery Date integration

By enabling this option, the delivery date information will be shown in the packing slip pdf, like the example below:

Packing slip with delivery information

For further details about YITH Delivery Date, please, refer to the official plugin documentation.

YITH WooCommerce Deposits / Down Payments

YITH WooCommerce Deposits / Down Payments is a plugin designed to offer users the opportunity to leave a deposit for a specific order, which they will then finish paying at a later time.

The integration between these two plugins allows generating two separate invoices, one for the deposit order and one for the balance order.

Integration with YITH Deposits / Down Payments

Please refer to the official documentation for further details about YITH WooCommerce Deposits / Down Payments settings.

YITH WooCommerce Product Bundles

With YITH WooCommerce Product Bundles you can create bundles with the combination of some products of your shop. You can assign an ad-hoc price to the bundle or a price given by the sum of the single elements contained in the bundle itself.

The integration between these two plugins will give you the ability to show the bundles in the invoice.

bundle + pdf invoice integration

In order to make the plugins work together, you will only have to activate them both. For further detailed settings on the product bundles, you can check the documentation here.

YITH WooCommerce Order & Shipment Tracking

YITH WooCommerce PDF Invoices & Packing Slips allows you to automatically generate the invoice in PDF format for each registered order in your shop.

The features of this plugin integrate with those of YITH WooCommerce Order & Shipment Tracking which will allow entering tracking data in the packing slips generated with YITH WooCommerce PDF Invoices & Packing Slips.

After activating both plugins, you will be able to enable the option Show in packing slip, thanks to which the order tracking data will be automatically inserted in the generated document.

Show tracking info in packing slips
Packing slip with tracking info

For further details about YITH WooCommerce Order & Shipment Tracking, please refer to the official documentation.

YITH WooCommerce Multi Vendor

With YITH Multi Vendor you can turn your e-commerce store into a marketplace (a multi-vendor platform) like Amazon or Etsy. Turn your e-commerce store into a marketplace (a multi-vendor platform) and earn commissions on orders generated by your vendors.

When the plugin is used with YITH WooCommerce PDF Invoices & Packing Slips, also vendors will be able to generate their own invoices with their own template and logo.

To enable the integration, make sure that both plugins are installed and activated, then, enable the module from YITH > Multi Vendor > Modules.

Module

When enabling this option, the vendor can can set up their own invoicing and invoice template settings by clicking in PDF Invoices & Packing Slips from their backend panel.

Vendor settings

From this tab, the vendor can configure the following invoice settings:

Vendor invoice settings:

Vendor invoice settings
  • Next invoice number: Choose the number for the next invoice.
  • Invoice prefix: Set a text to show before the invoice number. Example: with “YITH”, invoice number will be “YITH-485940″.
  • Invoice suffix: Set a text to show after the invoice number. Example: with “YITH”, invoice number will be “485940-YITH“.
  • Invoice number format: Set the format for the invoice number. Use [number], [prefix] and [suffix] as placeholders. The [number] placeholder is required. If not specified, it will be queued to the corresponding text.
  • Rest on January 1st: Enable to automatically reset and restart sequential numbering from number “1” each January 1st.

Template settings:

vendor template settings
  • Company name: Set the company name to be shown in the invoices.
  • Your company logo: Set a default logo to be shown.
  • Company details: Set the company details to be used in the invoice.

Invoice and Pro-forma invoice template settings:

vendor invoice and pro-forma invoice template settings
  • Invoice notes: Type the text to show as notes in the invoices.
  • Invoice footer: Type the text to show in the footer of the invoices.
  • Pro-forma invoice notes: Type the text to show as notes in the pro-forma invoices.
  • Pro-forma invoice footer: Type the text to show in the footer of the pro-forma invoices.

Credit note template settings:

vendor credit note template settings
  • Notes on credit note: Type the text to show as notes in the credit notes.
  • Credit note footer: Type the text to show in the footer of the credit notes.

Packing slip template settings:

vendor packing slip template settings
  • Packing slip notes: Type the text to show as notes in the credit notes.
  • Packing slip footer: Type the text to show in the footer of the credit notes.

The vendor’s company logo and details will be the same across all documents issued by the vendor (so for invoices, credit notes and shipping lists), but the vendor can customize notes and footer for each type of document.

Vendor electronic invoice settings

Please, note: The Electronic Invoice Settings will be available only if you activate it from the main options by going to YITH > PDF Invoices & Packing Slips > General Options > Invoice options and enable the option “Enable electronic invoice (Italian Customers)”

In this tab, the vendor will be able to configure the settings for the Italian electronic invoice. The options are divided in the following sections:

Impostazioni generali:

vendor electronic invoice settings > Impostazioni generali

The first section is about the file name format, which is made out of 5 characters, two letters and three numbers.

Impostazioni dettagli del soggeto o sell’azienda transmittente:

Next, you’ll find a section where the vendors can enter all their details.

Vendor electronic invoice settings > Impostazioni dettagli del soggeto o sell'azienda transmittente:
  • Codice fiscale azienda
  • Partita IVA azienda
  • Regime Fiscale
  • Esigibilità IVA
  • Nome registrato azienda
  • Nome persona fisica
  • Cognome persona fisica
  • Contatto telefonico
  • Indirizzo email
  • Indirizzo
  • CAP
  • Città dell’azienda
  • Provincia azienda

When the plugin is used in combination with YITH WooCommerce Multi Vendor, the automatic generation of invoices will be disabled. The only way to create a new document, invoice or shipping document, is manually through the specific buttons you find in WooCommerce > Orders or in order detail page.

Invoice generation in vendor order

For what concerns users, the various documents can be downloaded from My Account > Orders. Administrator and/or vendor related to the order must generate the document to allow the user to have access to it. The customer will get one invoice for each vendor suborder that is generated for his/her purchase.

Invoices in My Account

For further details about YITH Multi Vendor, please, refer to the official plugin documentation.