Documentation

Currencies for invoicing in WooCommerce

Table of Contents

Currency#

Invoices issued from WooCommerce orders use the currency recorded on the order.

To configure the store currency, go to WooCommerce → Settings → General → Currency options.

WooCommerce currency options in General settings

Set Number of decimals to 2 to keep WooCommerce amounts consistent with the plugin's invoice and report formatting, which uses two decimal places.

You can configure the currency symbol position, thousand separator and decimal separator for invoices in Invoices → Settings → Currencies. These settings control how amounts are displayed; they do not convert amounts into another currency.

Currency Symbols#

By default, Flexible Invoices displays currency symbols, such as $ for USD. The plugin supports the woocommerce_currency_symbol filter when formatting invoice amounts.

To display currency codes instead of symbols, add the following PHP snippet using a code snippets plugin or your child theme's functions.php file:

add_filter( 'woocommerce_currency_symbol', 'fi_display_currency_code', 10, 2 );

function fi_display_currency_code( $currency_symbol, $currency ) {
    return $currency;
}

This example replaces symbols with currency codes for all currencies, such as USD, EUR and PLN. It also affects WooCommerce wherever the same filter is used.

The snippet changes only the displayed symbol. It does not change the invoice currency or convert amounts.

Not the solution you are looking for?

Please check other articles or open a support ticket.