# ZATCA extension exports a one-halalah difference and triggers BR-CO-16

**URL:** <https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162>\
**Category:** Uncategorized\
**Created:** [November 5, 2026, 9:40am UTC](https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162 "2026-11-05T09:40:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaqathCSP](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taqathcsp/32/61316_2.png) [@TaqathCSP](https://forum.manager.io/u/TaqathCSP)\
**Post date:** [November 5, 2026, 9:40am UTC](https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162/1 "2026-11-05T09:40:05Z")

</div>

Hi @Mabaega,

Could you please check a rounding discrepancy in the XML generated by the ZATCA Phase II extension for a standard B2B invoice?

The first line has a quantity of **7,353** at **SAR 0.085** per unit. The exact result is **SAR 625.005** , which Manager displays as **SAR 625.01**. The extension exports that line as **SAR 625.00**. There is no prepayment or invoice-level rounding adjustment on the Manager invoice.

| Field | Manager invoice | Generated XML | | |
| --- | --- | --- | --- | --- |
| Line 1 net amount | 625.01 | 625.00 | | |
| Total before VAT | 3,193.03 | 3,193.02 | | |
| VAT | 478.95 | 478.95 | | |
| Total including VAT | 3,671.98 | 3,671.97 | | |
| Invoice-level rounding | None | 0.01 | | |
| Amount payable | 3,671.98 | 3,671.97 | | |

The **Compliance Check** returned `202 Accepted`, with `XSD_ZATCA_VALID`, one `BR-CO-16` warning, and no errors. In the XML, `TaxInclusiveAmount` and `PayableAmount` are both `3671.97`, while `PayableRoundingAmount` is `0.01`. The invoice is still awaiting production submission.

Could you check how the extension rounds line amounts ending in half a halalah and how it populates `PayableRoundingAmount`? For this invoice, the expected XML should carry **SAR 625.01** through the totals and show **SAR 3,671.98** as payable, with no invoice-level rounding adjustment.

Is there a supported way to regenerate the correct XML for this pending invoice? I can share the invoice screenshot, XML, and compliance response privately if needed.

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [November 5, 2026, 10:24am UTC](https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162/2 "2026-11-05T10:24:07Z")

</div>

Should be fixed now.

 ![{DCB2E19A-B7AD-421D-A652-445B5F03F7B9}](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/4/8/485c6e68f697986515409c31e7e7cf17acc03e26.png)

---

<div class="post-metadata">

**Author:** ![TaqathCSP](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/taqathcsp/32/61316_2.png) [@TaqathCSP](https://forum.manager.io/u/TaqathCSP)\
**Post date:** [November 5, 2026, 10:50am UTC](https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162/4 "2026-11-05T10:50:29Z")

</div>

Hi Mabaega,

Thank you for the quick fix. The rounding issue is resolved, and the invoice now passes the ZATCA compliance check.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [November 5, 2026, 8:53pm UTC](https://forum.manager.io/t/zatca-extension-exports-a-one-halalah-difference-and-triggers-br-co-16/70162/5 "2026-11-05T20:53:15Z")

</div>

Closed on November 5, 2026, 8:53pm UTC


