Skip to main content

How to Set a Tax Code for Sales Only or Purchases Only

Learn how to make a tax code available only on Sales Orders or only on Purchase Orders, so the wrong tax never gets picked on an invoice.

Written by Gigi Nguyen

Some taxes only make sense on one side of your business. For example, a tax you charge your customers (sales tax / output tax) should not show up when you buy from a supplier (purchase tax / input tax). With the Transaction Type setting, you choose where each tax code is available, so your team only sees the right taxes in the dropdown and never picks the wrong one by mistake.


​

Where to find it

Go to Tax Code Management, then open a tax code (Tax Detail). You will see the Transaction Type field.


​

The three options

Option

Where the tax is available

Both (default)

Sales Orders and Purchase Orders

Sales

Sales Orders and Quotations only

Purchases

Purchase Orders only

All your existing tax codes are set to Both, so nothing changes for you until you choose to change it.


​

Set the Transaction Type for a new tax code

  1. Go to Tax Code Management and create a new tax code.

  2. Fill in the tax name and rate as usual.

  3. Under Transaction Type, choose Both, Sales or Purchases.

  4. Save.

Important: The Transaction Type cannot be changed after the tax code is created. If you picked the wrong one, create a new tax code with the right type.


​

What changes in your daily work

  • Sales Orders and Quotations: the Tax dropdown shows taxes marked Both and Sales.

  • Purchase Orders: the Tax dropdown shows taxes marked Both and Purchases.

  • Product default tax: the standard Default Tax on a product only lists taxes marked Both. To use different taxes for selling and buying, see How to Set Different Default Taxes for Sales and Purchases.

  • Customers and suppliers: a customer's default tax can be Both or Sales. A supplier's default tax can be Both or Purchases.


​

Importing with Excel

When you import or update data with Excel, EMERGE checks the tax too. If a tax is not allowed for that document, the import shows an error so a wrong tax cannot slip through to an invoice.

Excel file

Allowed taxes

Purchase Order import (including adding items to an open PO)

Both, Purchases

Quotation import / Add items from Excel on a Sales Order

Both, Sales

Customer import or update: Default Tax

Both, Sales

Supplier import: Default Tax

Both, Purchases

Update Product: Default Tax

Both

If two tax codes have the same name (for example one Both and one Sales), EMERGE picks the matching type first: Sales for customers and Purchases for suppliers. For Update Product, make sure tax names are unique to avoid picking the wrong one.


​

Tips

  • Saving a Sales Order or Purchase Order with a tax that is not allowed is blocked, so your invoices stay correct.

  • Documents that come in automatically from connected apps (such as Xero, QuickBooks Online, Shopify or Ecart) are not blocked. The tax is applied as it arrives.

  • Reports, exports and Import from Xero are not affected by this setting.


​

Related articles

  • How to Set Different Default Taxes for Sales and Purchases

  • How to Import Purchase Orders from Excel

Did this answer your question?