Skip to content Skip to main navigation Skip to footer

Invoices: Global Settings

Good to Know

Invoices is a separate add-on that extends the capabilities of the Chauffeur Taxi Booking System for WordPress plugin. To start using the Invoices Add-on, ensure that you have Chauffeur Taxi Booking System version 7.7 or higher installed on your WordPress site.

Once the Invoices Add-on is installed and activated, a new section will appear in the ‘Settings’ menu under the title ‘Chauffeur Booking System: Invoices’. These settings allow you to configure global options related to how invoices are generated and sent to customers. Below is a detailed description of each available setting.

‘General’ -> ‘Main’ Tab

Sender Email Account

This drop-down field allows you to select the email account that will be used to send invoices to customers. The accounts available in this dropdown are those previously configured in the Chauffeur Booking System plugin under ‘Chauffeur Booking System’ -> ‘E-mail Accounts’. Choose the appropriate email account from the list that will be utilized for sending invoices.

Invoice in the Email Notification

This option allows you to select the order statuses for which an invoice will be automatically attached to the notification email sent to customers.

For example, if you select the ‘Confirmed’ status, then when an order receives this status (e.g., after successful payment), the confirmation email sent to the customer will include a PDF invoice. If you do not wish to send invoices automatically, you can leave this setting as ‘[None]’.

‘General’ -> ‘License’ Tab

License Details

Enter the required information to validate your license for the add-on. Enter the Purchase Code and the name of the Envato account that was used to purchase the plugin.

‘Invoices’ -> ‘Numbers’ Tab

Invoice Number Pattern

This field allows you to define a custom pattern for how invoice numbers should be generated. You can use the following shortcodes:

  • [sale_day] – Day from the order date, 2 digits with leading zeros.
  • [sale_month] – Month from the order date, 2 digits with leading zeros.
  • [sale_year] – Year from the order date, 4 digits.
  • [current_day] – Current day, 2 digits with leading zeros.
  • [current_month] – Current month, 2 digits with leading zeros.
  • [current_year] – Current year, 4 digits.
  • [counter_month] – Monthly counter value for the order date.
  • [counter_year] – Yearly counter value for the order date.

You can set the pattern to ‘Invoice/[counter_year]/[current_year]’, resulting in an invoice number format like Invoice/1/2024. The counters increment automatically each time an invoice is generated.

Example Numbering:

Example 1. Year and Sequential Numbering

Use the pattern: ‘INV-[counter_year]/[sale_year]’

This pattern starts with “INV-” followed by the yearly counter and the year of the order. The example output will be INV-1/2024 for first invoice of the year 2024.

Example 2. Monthly Sequential Numbering

Use the pattern: ‘[current_year]-[current_month]-[counter_month]’

This pattern includes the current year, current month, and a monthly counter. Each month, the counter resets. The example output will be 2024-08-2 for second invoice of August 2024.

Example 3. Date-Based Numbering

Use the pattern: ‘[sale_year][sale_month][sale_day]-[counter_year]’

This pattern uses the exact sale date (year, month, day) followed by the yearly counter, creating a unique number for each order on the specific date. The example output will be 20240812-1 for an order placed on August 12, 2024.

Set Invoice Number Counter

This option allows you to reset and manage counters used in invoice numbering. It contains four fields:

  • Year: Specify the year for which the counter should be reset (e.g., 2024).
  • Value for Year Counter: Set the starting value for the year counter (e.g., 0).
  • Month: Specify the month for which the counter should be reset.
  • Value for Month Counter: Set the starting value for the month counter.

To reset the counter for 2024, set the Year field to ‘2024’, the Value for Year Counter to ‘0’, and toggle the status to ‘Enable’. Save the settings by clicking the ‘Save Changes’ button in the lower right corner of the page to apply the reset.

Good to Know

The monthly counter resets automatically each new month. The yearly counter resets automatically every year.

‘Invoices’ -> ‘Document Styles’ Tab

Logo Dimension

Enter the desired width and height in pixels to control how the logo appears on your invoices. The logo itself is pulled from the Chauffeur Taxi Booking System plugin settings found under ‘Settings’ -> ‘Chauffeur Booking System’ -> ‘General’ -> ‘Main’ tab, ‘Logo’ option.

Company Details on the Invoice

The company details that appear on your invoices come directly from the settings you have configured within the Chauffeur Taxi Booking System plugin. Configure them in the menu ‘Settings’ -> ‘Chauffeur Booking System’ -> ‘Company Details’ tab.

Good to Know

The format of the address displayed on the invoice can be adjusted through the menu ‘Settings’ -> ‘Chauffeur Booking System’ -> ‘General’ -> ‘Main’ tab, where you’ll find an option called ‘Address Format’. For US formatting select ‘Type 2 (US)’ mode.

Summary

Document version: 1.0
Last updated: August 11, 2024
Plugin version: 1.0+

Was This Article Helpful?

Related Articles