Which Invoice Data Fields can I use?

You can use ALL data fields, that are available in your regular WooCommerce order in our PDF Invoice plugin. This also includes custom meta keys. Data is placed with curly brackets like {{billing_first_name}}.

  • id
  • qr_code
  • invoice_number
  • parent_id
  • status
  • currency
  • version
  • prices_include_tax
  • discount_total
  • discount_tax
  • shipping_total
  • shipping_tax
  • cart_tax
  • total
  • total_tax
  • customer_id
  • order_key
  • payment_method
  • payment_method_title
  • transaction_id
  • customer_ip_address
  • customer_user_agent
  • created_via
  • customer_note
  • date_completed
  • date_paid
  • cart_hash
  • number
  • coupon_lines
  • 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
  • order_created
  • order_modified
  • subtotal
  • shipping_method_title
  • _order_key
  • _customer_user
  • _payment_method
  • _payment_method_title
  • _transaction_id
  • _customer_ip_address
  • _customer_user_agent
  • _created_via
  • _date_completed
  • _completed_date
  • _date_paid
  • _paid_date
  • _cart_hash
  • _order_currency
  • _cart_discount
  • _cart_discount_tax
  • _order_shipping
  • _order_shipping_tax
  • _order_tax
  • _order_total
  • _order_version
  • _prices_include_tax
  • _billing_address_index
  • _shipping_address_index
  • _recorded_sales
  • _recorded_coupon_usage_counts
  • _order_stock_reduced
  • _edit_lock
  • _edit_last
  • _wpb_vc_js_status
  • _vc_post_settings

13 thoughts on “Which Invoice Data Fields can I use?

  1. vincent says:

    Hi there,

    How Can I show the VAT number on the invoice for customers that have filled in their tax id?

    Also… is there a way to make the column headings like: Product, SKU Qty etc… not bold but regular?

    Again thanks

  2. Hasnain Mahar says:

    I have the same question as vincent. How can we print VAT numbers on invoices for customers? It’s just not working.

  3. samkung says:

    Hi, I got a “Tracking number” from USPS, I added the “Tracking number” into my customer’s order sheet then regenerate a new invoice for updating the”shipping number” for my client checking their shipping.

    But I don’t know how to add the “Tracking number” to the invoice.({{_order_shipping}} is not updating.)

  4. Sam says:

    My orders all have a custom order number stored using the meta key _alg_wc_custom_order_number
    Your plugin doesn’t retrieve the value of that key using this syntax in the Content Intro:
    Order Number: {{_alg_wc_custom_order_number}}

    Am I missing something? The value for this key is present in wp_postmeta.

    • Sam says:

      Never mind. The editor for was wrapping the meta key name in an HTML label tag in the Content Intro field. Editing as raw text solved this issue (although I am unsure as to why this doesn’t happen with the other content fields as well).

Leave a Reply

Your email address will not be published.