On this page

Tax ​

The Tax module calculates VAT on each line of sales, purchasing and cash documents. It prepares the VAT return from posted entries, applies withholding tax on receipts and payments, and issues e-invoices for Saudi companies.

The module is always enabled. Its screens appear in the sidebar under Tax (TX1).

Screens in this chapter ​

Screen in the sidebarWhat it's forPage
VAT returnsPrepare, review and close the returnVAT returns
E-invoicesTrack e-invoices and send pending onesE-invoicing
Tax codesCodes, their rates and their accountsTax codes
Tax determinationTax categories and determination rulesTax determination
Tax settingsCountry, tax number, filing frequency and accountsTax settings
Tax ledger, Tax reconciliation and Withholding tax reportReportsTax reports

Withholding tax is recorded on receipt and payment vouchers: see Withholding tax.

How tax is calculated ​

For each line, in this order (D9a, SP19):

  1. Gross = quantity × price. Then the line discount is applied.
  2. The header discount is spread across the lines in proportion to each line's net amount before tax. Small differences go to the largest remainders, so the total matches exactly. An item excluded from the header discount gets no share of it.
  3. Taxable amount = line net − its share of the header discount.
  4. Tax = taxable amount × rate, rounded on each line to the currency's decimals, with halves rounded away from zero (D6).
  5. Document totals = the sum of the rounded lines. There's no tax at header level.

With tax-inclusive prices, the inclusive amount stays as it is, and the tax is extracted from it on each line (TX3).

Example: two lines of 100 each, the first at 16% and the second at zero, with a header discount of 20. Each line's share is 10, the taxable amount is 90, and the tax is 14.40, on the first line only.

Where the tax code comes from ​

  • Sales: from the determination rules, based on the customer's category and the item's category. If no rule applies, the default sales code in Tax settings is used. A copied line keeps its source line's code.
  • Purchasing, notes and petty cash: the code entered on the line (Tax code). It must be an existing code for the right side, or the line is rejected (TX10).
  • Bank charges: the bank charges tax code in settings. The charge includes tax (CB18).

Accounting impact ​

Each tax line in the journal entry carries the tax code and its role:

  • Taxable amount: the revenue, expense, discount or party line.
  • Tax: the tax account.
  • Non-recoverable tax: added to cost.

The return and the reports are built from these lines alone, so they always match the general ledger (TX2).

DocumentDebitCredit
Sales invoiceCustomer (gross), sales discountRevenue, output tax
Supplier invoiceInventory or expense, input tax (recoverable part), cost (non-recoverable part)Supplier
Reverse-charge purchaseInput taxReverse-charge tax account (added to the purchase entry)
Debit note to a customerCustomerLine accounts, output tax
Bank chargeCharge (net), input taxBank
Receipt voucher with withholdingCash box, tax withheld by customersCustomer (gross amount)
Closing the returnOutput tax accounts (balance)Input tax accounts, with the difference to tax payable (or, the other way round, to tax recoverable)

First-time setup ​

  1. Create the tax accounts in the chart of accounts: output tax, input tax, tax payable, tax recoverable, and withholding tax accounts if you need them.
  2. Create tax codes with their rates and accounts.
  3. Configure Tax settings: country, tax number, filing frequency, settlement accounts and default codes.
  4. If you need them, add determination categories and rules.

Not available yet ​

  • Export files for tax authority portals. (You can print the return as a PDF from the return page.)
  • Certification of the integration against ZATCA's sandbox before the first Saudi tenant. Registering an e-invoicing unit with ZATCA (certificate request, compliance certificate and checks, production certificate) and full document signing are available (OA-F3). See E-invoicing.