fbpx

If you want to create different invoices for users from different billing countries – just add `billing_country` or `not_billing_country` parameters to any shortcode. E.g. to create three different invoices – one for customers from France and Belgium, another for customers from Germany, and third one for customers from the rest of the world, you should create template similar to this:

</p>
<h1>
[wcj_text billing_country="FR,BE"]Facture[/wcj_text]<br />
[wcj_text billing_country="DE"]Rechnung[/wcj_text]<br />
[wcj_text not_billing_country="FR,BE,DE"]Invoice[/wcj_text]<br />
</h1>
<table class="pdf_invoice_heading_table">
<tbody>
<tr>
<td>
	[wcj_order_number billing_country="FR,BE" before="Numéro de commande: "]<br />
	[wcj_order_number billing_country="DE" before="Bestellnummer: "]<br />
	[wcj_order_number not_billing_country="FR,BE,DE" before="Order number: "]
	</td>
</tr>
</tbody>
</table>
<p>
[wcj_order_items_table table_class="pdf_invoice_items_table" billing_country="FR,BE"<br />
	columns="item_number|item_name|item_quantity|line_total_tax_excl"<br />
	columns_titles="|Produit|Quantité|Total"<br />
	columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]<br />
[wcj_order_items_table table_class="pdf_invoice_items_table" billing_country="DE"<br />
	columns="item_number|item_name|item_quantity|line_total_tax_excl"<br />
	columns_titles="|Produkt|Menge|Gesamt"<br />
	columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]<br />
[wcj_order_items_table table_class="pdf_invoice_items_table" not_billing_country="FR,BE,DE"<br />
	columns="item_number|item_name|item_quantity|line_total_tax_excl"<br />
	columns_titles="|Product|Qty|Total"<br />
	columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]
</p>
<p>