# Country packs

> What a country pack carries, which version your organisation runs, what you may override, and the two things a country changes most: the VAT return layout and the tax identifier rule.

Source: /help/en/accounting/country-packs

Everything Alya Books knows about a country's accounting rules lives in a **country pack**: the chart of accounts, the journals, how each tax code posts and which return box it feeds, the statements, the VAT filing and corporate tax rules, the close templates, the AI defaults, the layout of the VAT return and the format of the tax identifiers. A pack is versioned data, never a setting you type; your organisation copies it when the ledger is enabled and keeps that copy.

## Which pack and version you run

1. Go to **Settings → Accounting**. The card at the top names the pack (for the United Arab Emirates, *IFRS for SMEs chart*, key `ae_ifrs_sme`), its version and its review status.
2. The version is recorded when the ledger is enabled. A newer pack version changes the template, not your copy; an upgrade is a step you choose, never a silent change (see "When a pack changes" below).
3. A pack marked **draft** was written from the standard and the law and not yet reviewed by a filer of that country. Every account, posting rule and box cites its legal source, so an adviser can disagree with one row.

## What you may override

You never edit a pack row. The pattern is the same everywhere: the pack row stays, your organisation's own row wins, and a managing firm's row sits between the two. That holds for report definitions and settings, close checks and thresholds, penalty tables, action policies and model tiers. Accounts and journals are copied into your chart when the ledger is enabled; from then on they are yours to rename, archive or extend. Posting finds accounts by their **role**, never by code: the Phase F verticals added the roles `inventory_adjustments` (5020), `purchase_returns` (5060), `contract_asset` (1360) and `revenue_holding` (2235, revenue awaiting recognition) to the Gulf base; an organisation enabled before them receives them through the pack upgrade below.

## The two things a country changes most

**The VAT return layout.** The form (the UAE **VAT 201**), its sections, every box with its label in English and Arabic, which figures feed each box, the split of the first box by emirate and the totals come from the pack, not from the app. The **VAT Return** page, the form view with the copy buttons, the filing pack and the API (`GET /vat/worksheet` answers a `layout` beside the boxes) all read the same file, so a second country is a different form with no new screen.

**The tax identifier rule.** The format of the tax registration number (the 15-digit UAE **TRN**), how it is grouped for display, the identifier derived from it (the 10-digit TIN), the Peppol scheme of the country (0235 in the UAE) and the predefined buyer endpoints come from the pack. The TRN fields in **Settings → Profile**, onboarding and the contact forms take their length, placeholder and validity hint from it; the sales receipt and the return diagnostics refuse a number that does not match it with a message that names the identifier.

## A pack can extend another

A pack may declare that it **extends** another pack and then states only its differences: the accounts it renames or drops, the posting rules it adds, the return layout, identifier rule and holidays of its country. The resolved pack is written out whole when the product is built, so your organisation's copy is complete and nothing in it points back to a parent. The card at **Settings → Accounting** shows the line *Pack: name vVersion · extends parent* when your pack has one. A pack extends one level only, and it may never move a role (receivables, VAT output, retained earnings) onto an account of another type than the parent's. The UAE pack extends nothing today; the Gulf packs that follow share a common base.

## Local names

Every pack label carries three names: English, Arabic and the **local name** in the pack's own language. For the UAE pack the local language is Arabic, so the local name equals the Arabic one and nothing changes on your screens. The local name is the hook for a third interface language: when Alya Books gains one, the chart of accounts, the journals, the statements and the close checklist will show their labels in it without the pack changing. Until then the pages show English or Arabic with the language switcher as they do today.

## Modules a pack may leave out

The sub-ledger modules (bank, schedules, fixed assets, budgets, VAT filing, corporate tax, withholding tax, close) are product features, the same in every country. A pack may say that one does not apply in its country; **Settings → Accounting → Modules** then shows it as *Not in this country pack* and enabling it answers `module_not_available` with the pack's note. The UAE pack leaves **withholding tax** out with the note *No withholding tax in the UAE*; the Saudi pack carries it (see [Withholding tax](/help/en/accounting/withholding-tax)).

## Saudi Arabia (preview)

The second pack, `sa_ifrs_sme`, is the proof that a country is a folder plus a connector. An organisation whose region is Saudi Arabia enables the ledger on it without choosing anything: **Settings → Accounting** offers the pack of your region first (the abstract GCC base both packs extend is never offered).

What the pack carries: the IFRS for SMEs chart of the GCC base with the VAT roles named for ZATCA, VAT at **15 %** on sales and purchases, the reverse charge on imported services, the **ZATCA VAT return** layout (boxes S1 to S6 for sales, P1 to P3, P3B and P4 to P6 for purchases, N1 to N3 for the net, with the form's Arabic labels; the sales-to-citizens relief and the corrections are typed by hand, zero rated domestic sales come from the lines), returns due at the end of the month after the period, the **15-digit VAT number** (starts and ends with 3) and the 10-digit CR number, the thirteen regions for addresses, the Friday–Saturday weekend with the Eid, Founding Day and National Day holidays of 1447 and 1448 AH, and **Hijri fiscal years** from the Umm al-Qura calendar (see [Enable the ledger](/help/en/accounting/enable-the-ledger)).

**Zakat and corporate income tax are a module** (since G3): the pack's corporate tax rules carry two levies, Zakat at 2.5 % of the Zakat base on the Saudi and GCC owners' share (2.577 % for a Gregorian year) and income tax at 20 % on the non-Saudi share; the **Corporate tax** module enables on a Saudi organisation, the **Ownership split** under Settings → Accounting gives the share, and account 2150 Zakat and income tax provision takes the provision entry (see [Zakat and corporate income tax](/help/en/accounting/zakat-and-income-tax)). **Withholding tax is a module and a document kind**: a non-resident supplier carries a kind and a rate from the pack, a bill payment deducts the tax, every deduction is a row of the monthly return under **Tax & compliance → Withholding returns**, and filing locks the month and settles the payable as the VAT filing does (see [Withholding tax](/help/en/accounting/withholding-tax)).

What is connected since G4: the **ZATCA Fatoora** e-invoicing network is a real connector with CSID onboarding, clearance of standard invoices and reporting of simplified ones (**Settings → E-invoicing** shows the onboarding card and the Sandbox, Simulation and Production modes; see [Connect to the ASP](/help/en/settings/e-invoicing-connection)). What is derived: the Saudi Central Bank publishes no daily rate table, so the pack's feed derives riyal rates through the dollar peg (below).

**Zero-rated sales are split by the contact's VAT treatment.** A zero-rated line whose contact is an *export outside the GCC* or *registered in another GCC state* reports in **S4 (exports)**; every other zero-rated line (qualifying medicines, investment metals, international transport sold in the Kingdom) reports in **S3 (zero rated domestic sales)**. Nothing is typed: the contact's treatment (Contacts → VAT treatment) is written on every line when the invoice is saved, a line may carry its own, and the posting rule of the pack picks the box. The return from the documents and the return from the ledger agree, and the parity check is empty.

**A blocked reverse-charge import has its own box.** An imported service whose input tax is not deductible (Implementing Regulations art. 50: entertainment, restricted vehicles, private use) still owes its output tax. Mark the bill *input VAT not claimable*: the cost carries the VAT, the output tax goes to 2120 and the value and its VAT at 15 % show in **P3B**, counted in N1 and never in the purchases total P6. The portal has no row for P3B: add its VAT to the amount declared (the box's note says so).

**Exemption reason codes.** The pack's zero-rated and exempt rates carry the ZATCA data dictionary codes (`VATEX-SA-32` export of goods, `VATEX-SA-33` export of services, `VATEX-SA-34-1`/`-2` international transport, `VATEX-SA-35` medicines and medical equipment, `VATEX-SA-36` qualifying metals; `VATEX-SA-29`, `VATEX-SA-29-7` and `VATEX-SA-30` for exempt financial services, life insurance and real estate). An organisation on the pack sees them under Settings → Tax rates (the first code of a family on the family's rate, every further code as a rate of its own); the e-invoice carries the code of the line's rate. They were read from the English edition of the dictionary and a Saudi filer confirms them.

**Riyal rates from the SAMA feed.** The Implementing Regulations (art. 71) name the Saudi Central Bank's daily rate for a supply in another currency, but SAMA publishes no table a program can read. The pack's feed `sama` therefore derives the riyal rate of every currency the pack enables from the dollar peg (SAR 3.75 per USD) and the US dollar cross rate of the deployment's cross-rate source (the Central Bank of the UAE table by default): SAR per unit = 3.75 × (AED per unit ÷ AED per USD). The Exchange Rates page names the source and prints the derivation (`usd_peg:cbuae:<date>`); a rate entered by hand for the day takes precedence; a filer confirms that a derived rate is acceptable to ZATCA (see [Exchange rates](/help/en/vat/exchange-rates)).

**No Saudi filer has reviewed this pack.** Every figure cites the article it was read from, and the list of what a filer must confirm is in the milestone handoffs (PK4 and G2); the pack stays *draft* until then. Treat its returns as a worksheet, not a filing.

**Cash-basis VAT is a scheme the pack allows** (since G6). The pack's return layout carries a `cash_basis` block: allowed, the threshold of Implementing Regulations art. 46 (SAR 5,000,000 of taxable supplies in the previous year) and the two transition roles the chart carries as **2105** *VAT output tax deferred* and **1405** *VAT input tax deferred*. An organisation under the threshold elects it under **Settings → Accounting** (the **Filing approval** card); its standard VAT then parks on the transition account until the open item is settled, and the return reads the settled share at the payment date. The UAE pack states `allowed: false`. See [Cash-basis VAT](/help/en/vat/cash-basis-vat).

## Bahrain (preview)

The third pack, `bh_ifrs_sme`, is a folder of a few files on the same GCC base. An organisation whose region is Bahrain enables the ledger on it without choosing anything.

What the pack carries: the IFRS for SMEs chart with the VAT roles named for the National Bureau for Revenue (NBR), VAT at **10 %** (since 1 January 2022), the reverse charge on imported services, and the **NBR VAT return**. Its boxes are S1 to S6 for sales, P1 to P5 for purchases and N1 to N3 for the net. S2 holds sales to taxpayers registered in another GCC state and S4 holds exports; both come from the contact's VAT treatment. P3B holds the output tax of a blocked reverse-charge import. Returns are quarterly, or monthly above BHD 3 million of supplies, and are due at the end of the following month. Corrections within BHD 5,000 are typed in N2. The identifiers are the **15-digit VAT account number** beginning with 2 and the CR number. The pack also carries the four governorates for addresses and the Friday–Saturday weekend with the public holidays of 2026.

**Amounts in dinars show three decimals.** The dinar has 1,000 fils, so amounts read like BHD 1,234.500 and Settings → Accounting says "amounts to 3 decimals" on the pack line. The ledger stores two decimals for now: the third place is shown, and storing it waits for a later change of the amount columns.

**E-invoicing is not connected.** The NBR has announced e-invoicing but published no specification. **Settings → E-invoicing** shows the connector as **Not connected** and names the planned network. A submission builds the UBL 2.1 document and stores it, then answers *not connected*: issue the PDF tax invoice meanwhile (see [Connect to the ASP](/help/en/settings/e-invoicing-connection)).

**Rates are entered by hand.** The Central Bank of Bahrain publishes no rate table a program can read. Enter rates on the Exchange Rates page; the dinar is pegged at BHD 0.376 per US dollar, and the page warns when a dollar rate is off the peg.

**No corporate tax module and no withholding.** The domestic minimum top-up tax of 2025 applies to large multinational groups only; it is a later change of the pack.

**No Bahraini filer has reviewed this pack.** Every figure cites the article it was read from in the English text, and the rows a filer must confirm are listed in the milestone handoff. The pack stays *draft*; treat its returns as a worksheet, not a filing.

### Walkthrough: a Bahraini organisation

1. Create the organisation with Bahrain as its country and BHD as its currency, and enter the VAT account number (15 digits, starting with 2) under **Settings → Company profile**. A 14-digit number is refused with the label "VAT account number".
2. Open **Settings → Accounting** and enable the ledger. The pack line reads the Bahrain pack, v1.0.0, extends gcc_ifrs_sme, amounts to 3 decimals, and the draft note.
3. Post a standard-rated sale, a standard-rated bill and a bill for an imported service marked reverse charge.
4. Open **VAT Return** for the quarter: S1, P1 and P3 carry the three documents and N1 is the output tax plus the reverse-charge tax minus the input tax.
5. Open **Settings → E-invoicing**: the card reads **Not connected** with "Planned: NBR e-invoicing (planned)".

## Oman (preview)

The fourth pack, `om_ifrs_sme`, sits on the same base. An organisation whose region is Oman enables the ledger on it.

What the pack carries: VAT at **5 %**, the reverse charge on imported services, and the **OTA VAT return**. Its boxes are S1 to S5 for supplies, P1 to P5 for purchases and deductions and N1 to N3 for the net. S2 holds supplies to persons registered in another GCC state; S3 holds every other zero-rated supply, exports included, because the form has one zero-rated row. P3B holds the output tax of a blocked reverse-charge import. Returns are quarterly and due **30 days** after the period; corrections within OMR 5,000 are typed in N2. The identifiers are the **VATIN**, the letters OM followed by ten digits, and the seven-digit CR number. The pack also carries the eleven governorates for addresses and the Friday–Saturday weekend with the public holidays of 2026.

**Amounts in rials show three decimals** (OMR 1,234.500), stored to two for now as in Bahrain. **E-invoicing is not connected**: the Oman Tax Authority's programme is planned without a published specification, so the card reads **Not connected** and names the OTA network. **Rates are entered by hand**, with the rial pegged at OMR 0.3845 per US dollar.

**Income tax and withholding are outside the ledger for now.** The 15 % income tax, the 3 % rate for small establishments and the 10 % withholding on payments to non-residents are a later change of the pack with their own sources.

**No Omani filer has reviewed this pack.** It stays *draft*, and the rows a filer must confirm are listed in the milestone handoff. The walkthrough is the Bahraini one with Oman as the country, OMR as the currency and a VATIN such as OM1100000000; the return is due 30 days after the quarter.

## Every pack ships a golden year

A country pack carries `golden_year.json`: one year of documents and payments, the test that replays it through the real posting functions, and the scenarios it proves (a standard-rated sale, a domestic purchase, a reverse-charge import, a zero-rated export; on a pack with a Hijri calendar the same year pinned over a Hijri year too). The trial balance, the return boxes per quarter and for the year, the statements and the open items are pinned to the cent, and the pack checker refuses a country pack without the file or without the required scenarios. The UAE year is the golden company of the test suite; the Saudi year is the same documents at 15 % in riyals, plus the Saudi documents of the later milestones, pinned over 2026 and over 1448 AH; Bahrain and Oman replay the shared Gulf year in dinars and rials. A figure that moves is a defect of the change, never a fixture edit.

## When a pack changes

A pack version changes the template, never your copy. Since the first upgrade (version 1.18.0 of the UAE pack, 1.1.0 of the Saudi pack) a change reaches you through one step you choose:

1. **Settings → Accounting** shows *Upgrade available: 1.0.1 to 1.1.0* under the pack line when the template is newer than your copy. The console's tenant page shows the same line to platform staff, read-only.
2. **Preview** opens the change: per file (accounts, journals, account groups, fixed asset classes, tax posting rules, report definitions, close checks, action policies) the rows the upgrade would **add** (new in the pack), **apply** (the pack changed a row you never touched), **keep** (you changed the row: both values are listed and yours wins), **skip** (the pack removed a row you use, an account with postings or a journal with entries, so it stays) and **archive** (removed and unused). Under the lists: the roles the pack names that an account of yours takes over, the tax rate families you lack, the default-account pointers the upgrade fills.
3. **Apply** runs the whole preview in one transaction after a confirmation, records the counts in the audit log (*ledger.pack_upgraded*) and sets your pack version. A kept row is never touched, an archived account can be restored, and the trial balance does not move.

What needs no upgrade: the VAT return layout, the identifier rules, the e-invoicing data, the calendar, the filing and corporate tax rules and every other default are read from the pack row itself, so they apply the moment the pack is released. A pack change that only touches them (the portal name of 1.18.0) previews as nothing to move; applying it records the version.

The preview compares your copy with the template of the version you enabled, which the product keeps per version. An organisation enabled before that history existed is compared with the earliest version kept: a row that differs is then kept, never changed, and the preview says so.

The portal name your VAT pages print (*EmaraTax* in the UAE, the *ZATCA portal* in Saudi Arabia) comes from the pack's return layout since 1.18.0 and 1.1.0; so does the pack's statement on data residency, shown when you enable the ledger (see [Enable the ledger](/help/en/accounting/enable-the-ledger)).

Every pack on the Gulf base also seeds the organisation's **books** (the primary and tax books, since G6): see [Secondary books](/help/en/accounting/secondary-books).

## Related

- [Enable the ledger](/help/en/accounting/enable-the-ledger)
- [Tax postings and VAT boxes](/help/en/accounting/tax-postings-and-vat-boxes)
- [VAT 201 worksheet](/help/en/vat/vat-201-worksheet)
- [Zakat and corporate income tax](/help/en/accounting/zakat-and-income-tax)
- [Withholding tax](/help/en/accounting/withholding-tax)
- [Company data and TRN](/help/en/account-and-setup/company-data-and-trn)
