October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Make Invoice Numbers Match WooCommerce Order Numbers

Configure your invoice extension to read the WooCommerce order number instead of running a separate invoice counter. This guide covers formatted sequences, exact setup steps, verification, gateway references, historical orders, and common mismatches.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make an invoice number identical to its WooCommerce order number, configure your invoice extension to use the order number instead of maintaining a separate invoice counter. In WooCommerce Print Invoices & Packing Lists, enable Use Order Number as Invoice Number; in Print Invoice & Delivery Notes, insert {order_number}; WebToffee’s PDF Invoice and Packing Slips Suite also provides an order-number mirroring option.

What it means for an invoice number to match an order number

WooCommerce can expose more than one identifier for the same purchase. The underlying order ID is the database identifier. A sequential-order extension can present a formatted order number, such as a value with a prefix, date token, suffix, or leading zeroes. An invoice extension may then either copy that displayed order number or create a separate invoice sequence.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Exact matching means the number printed on the invoice is the same value customers and staff see as the WooCommerce order number. It does not mean that WooCommerce changes the database ID. The order ID in a WooCommerce URL remains the lookup identifier used to retrieve the order from the database, even after the displayed order number is formatted.

Why stores usually want an exact match

  • Customers can identify an invoice from the order confirmation without translating between two references.
  • Support staff can search using the number printed on a PDF or email and find the corresponding order quickly.
  • Printed documents, packing paperwork, and customer-facing order screens can use one consistent reference.
  • Reconciliation is simpler when the sales record and invoice show the same displayed number.

Matching is a configuration choice, not an automatic consequence of installing an invoice plugin. A plugin that has its own counter will continue generating independent invoice numbers unless you select its order-number mapping option or place the order-number placeholder in the invoice template.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Choose the numbering model before changing settings

Decide whether the existing WooCommerce order numbers are acceptable before editing invoice templates. If they already meet your requirements, map invoices directly to them. If they need a prefix, suffix, date token, or padding, configure the order-number format first and then mirror that formatted value on invoices.

Direct mirroring

Direct mirroring uses the current WooCommerce order number without introducing another sequence. This is the simplest model when the only requirement is that the invoice and order display exactly the same number.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Formatted order numbers plus mirroring

A sequential-order extension can define a starting number, prefix, suffix, date or time tokens, and zero-padding. The invoice then displays the resulting formatted order number. This model preserves a single customer-facing reference while allowing a store-specific format.

Independent invoice numbering

An independent sequence is appropriate only when accounting procedures require invoices to have their own controlled series. It is intentionally different from the WooCommerce order number. WooCommerce documentation describes separate invoice counters and yearly resets for this arrangement, so it should not be selected when the goal is an exact match.

Model Invoice/order match Formatting options Existing orders When to use
Direct mirroring Exact, provided both screens use the same current order number Uses whatever order format is already configured Does not renumber historical orders The existing order numbers are acceptable
Formatted order numbers plus mirroring Exact after the invoice reads the formatted order number Starting number, prefix, suffix, date/time tokens, and zero-padding can be configured New numbering follows the documented rules; old orders stay unchanged The store needs a consistent custom format
Independent invoice sequence No; two references are deliberately maintained Invoice-specific series and possible yearly resets Invoice history follows its own sequence Accounting rules require a separate invoice series

Configure the WooCommerce order-number format first

If the current order number is suitable, skip to the invoice-extension section. Otherwise install and configure WooCommerce Sequential Order Numbers Pro before mapping invoices. Its settings support a configurable starting number, prefixes, suffixes, date and time tokens, and zero-padding.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
  1. Review the existing order history. Record the largest order number currently in use and identify any prefixes, suffixes, or date components already shown to customers.
  2. Open the sequential-order extension’s settings under WooCommerce. Select the starting number and define any prefix, suffix, date/time token, or zero-padding required by your store’s documents.
  3. Check the extension’s numbering rule for your site state. On an empty site, the extension starts at 1 unless you configure another start. On a site with existing orders, new numbering follows the largest existing order number or the configured higher start.
  4. Save the format and create a test order. Confirm the displayed order number includes every component in the intended order, including leading zeroes and date text.

Changing this setting does not renumber existing orders. The setting affects how new numbers are generated; it cannot rewrite historical order references already issued to customers. Treat the existing order range as part of the store’s permanent record when choosing a new start or format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prevent duplicate date text

Check every place where a year or date token is added. If the sequential order format already contains a year token and the invoice prefix or suffix adds another year token, the invoice can display the year twice. Remove the duplicate token from the invoice-side prefix or suffix rather than adding another transformation to the order number.

Map the invoice extension to the WooCommerce order number

After the order format is final, configure the invoice extension to read that value. Do not enable a second invoice counter when exact matching is the requirement.

WooCommerce Print Invoices & Packing Lists

  1. Open the extension’s invoice-number settings.
  2. Enable the option labeled Use Order Number as Invoice Number.
  3. Save the setting and generate a preview for a recent order.
  4. Confirm that the invoice number is identical to the order number shown for that order in WooCommerce, including any prefix, suffix, date text, and zero-padding.

The wording of the setting matters: it tells the extension to use the order number as the invoice number instead of advancing an independent invoice sequence.

Print Invoice & Delivery Notes

  1. Open the invoice template or invoice-number configuration.
  2. Place the exact placeholder {order_number} where the invoice number should appear.
  3. Remove any separate invoice-counter token from that field if one is present.
  4. Save the template, render a preview, and compare the result with the matching WooCommerce order.

The placeholder must be entered exactly as documented, including the braces. It should be used for the invoice-number field, not appended to a separately generated invoice number.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

WebToffee PDF Invoice and Packing Slips Suite

  1. Open the suite’s invoice-number settings.
  2. Select its option to mirror the WooCommerce order number rather than generate an independent invoice sequence.
  3. Save the configuration and render a PDF for a test order.
  4. Compare the number in the PDF with the order number displayed in the WooCommerce order record and customer-facing view.

Names and screen placement can vary by extension version, but the required behavior is the same: the invoice field must resolve to the WooCommerce order-number value.

Verify the match across every customer-facing output

A setting can appear correct in an editor while a generated document still uses an old template or counter. Test the complete output path rather than relying on one preview.

  1. Preview several ordinary orders. Use orders with different number lengths, prefixes, and dates if your format includes those elements.
  2. Generate a PDF. Check the invoice number printed in the PDF, not only the value shown in the editor.
  3. Inspect invoice emails. If the extension attaches or embeds invoices in email, verify that the number in the attachment and the number in the email content agree.
  4. Check a refund case. Open an order that has a refund and confirm that the invoice continues to identify the original order correctly. Do not assume a refund document is using the same template as the original invoice.
  5. Check an older order. Historical orders retain their existing order numbers; verify that the extension’s behavior for those records is understood before sending replacement documents.
  6. Compare the WooCommerce order screen. Match the invoice value character for character, including punctuation, spaces, date text, and leading zeroes.
  7. Repeat after activating the setting in production. A cached PDF, email template, or previously generated attachment can make a change appear ineffective.

Why an invoice can still show a different number

The invoice extension is still using its own counter

This is the most common configuration mismatch. Reopen the invoice-number field and look for an independent sequence setting. In Print Invoice & Delivery Notes, replace that field with {order_number}. In an extension with a dedicated mapping option, select the order-number choice and save it before generating a new document.

The order format was changed after invoices were generated

Changing the sequential-order setting does not rewrite existing orders or previously issued documents. Compare a newly created order with a historical one to determine whether the difference reflects the old format. Keep historical invoices and order references intact rather than trying to make old documents conform to a new pattern.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A date token appears twice

Inspect both the sequential order format and the invoice prefix or suffix. Remove the duplicate year or date token from the invoice configuration when it is already part of the order number.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

The PDF or email is using a different template

Generate the document from the same route customers use, then inspect its actual output. A screen preview, a downloadable PDF, and an email attachment may be rendered by separate templates or settings within the same extension. Apply the mapping to the template that produces the disputed document and regenerate it.

A payment gateway shows another reference

Some gateways continue to reference the underlying WooCommerce order ID rather than the formatted order number. WooCommerce identifies Apple Pay via Stripe, PayU, PayU Turkey, and RedSys as examples. Consequently, a gateway receipt or payment screen can show a different reference even when the invoice and customer-facing WooCommerce order number match. Treat that gateway reference as a processor identifier, not proof that the invoice mapping failed.

The URL still contains another number

The number in an order-management URL is the database lookup ID. Formatting the displayed order number does not change that URL identifier, so a different number in the address bar is expected.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How existing orders, new orders, and refunds behave

Existing orders

Existing orders keep their assigned numbers. A new order-number start or format does not renumber the historical order list. If an invoice extension reads the order number, an old invoice should reflect the old order value when regenerated, subject to the extension’s handling of historical templates.

New orders

New numbers are generated according to the sequential-order configuration. On an empty site, the documented default start is 1 unless you choose another value. On a site with existing orders, generation follows the largest existing order number or the configured higher start. Test the first production order after changing the format so a gap or unexpected starting point is caught immediately.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Refunds and replacement documents

Use the original order number when checking a refund-related document. The verification step is to compare the document’s displayed reference with the order from which the refund originated, rather than assuming a refund has a new order number. If your extension offers separate refund or credit-note templates, inspect those outputs independently.

When matching is not the right accounting choice

Exact matching is a presentation and workflow decision. Some businesses must maintain a legally controlled invoice series that is separate from order numbers, with its own sequence or yearly reset. In that case, use an independent invoice counter and document the relationship between the invoice and order references for staff and customers.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not switch to mirroring merely to make a PDF look simpler if your accounting process requires invoices to be sequential, separately controlled, or reset on a defined schedule. Conversely, do not leave an independent counter enabled when your stated requirement is that every invoice number must equal the WooCommerce order number.

Operational checklist

  • Decide whether the current WooCommerce order numbers are acceptable.
  • If not, configure the sequential order format before changing invoices.
  • Set the starting number, prefix, suffix, date/time tokens, and zero-padding deliberately.
  • Remember that changing the setting does not affect existing orders.
  • Enable Use Order Number as Invoice Number where that option is available.
  • Use {order_number} in Print Invoice & Delivery Notes.
  • Remove any independent invoice counter from the invoice-number field.
  • Check for duplicate year or date tokens.
  • Preview ordinary orders, older orders, refunds, PDFs, and email attachments.
  • Explain gateway references separately when a processor uses the underlying order ID.
  • Confirm that a different number in the WooCommerce URL is the database ID, not an invoice mismatch.

Practical decision guide

Choose direct mirroring when the existing order numbers already make sense and the only goal is one shared reference. Choose formatted order numbers plus mirroring when the store needs a predictable prefix, date component, suffix, or padding but still wants invoices and orders to agree. Choose an independent invoice sequence only when accounting controls require it; accept that the two numbers will not match and provide both references where customers or staff need to cross-check them.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.