# Request for Guidance on Integrating Manager API with KSA Fatoora E-Invoicing (Phase II)

**URL:** https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942
**Category:** Uncategorized
**Created:** [April 17, 2024, 6:20pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942 "2024-04-17T18:20:13Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![zeem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/zeem/32/58164_2.png) [@zeem](https://forum.manager.io/u/zeem)
#### Post date: [August 28, 2024, 8:18am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/65 "2024-08-28T08:18:00Z")

</div>

If you can provide an account on the Fatoora , can you help?

---

<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: [August 28, 2024, 10:49am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/66 "2024-08-28T10:49:58Z")

</div>

@zeem  
Thank you for your trust and assistance in this project by lending us your account to try.  
Currently the application is running well in the Simulation environment.

The application successfully **Onboarded** and successfully reported **Standard** and **Simplified Invoice** without any problems in the **Simulation Environment**.

---

<div class="post-metadata">

### Author: ![zeem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/zeem/32/58164_2.png) [@zeem](https://forum.manager.io/u/zeem)
#### Post date: [August 28, 2024, 11:12am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/67 "2024-08-28T11:12:35Z")

</div>

Thank you for your efforts, and I hope to assist anytime

---

<div class="post-metadata">

### Author: ![zeem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/zeem/32/58164_2.png) [@zeem](https://forum.manager.io/u/zeem)
#### Post date: [August 28, 2024, 11:17am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/68 "2024-08-28T11:17:28Z")

</div>

I hope you can explain how the integration and Zakat work on the Fatoorah website

---

<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: [August 28, 2024, 12:19pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/69 "2024-08-28T12:19:17Z")

</div>

In short like this:

**Onboarding Device:**

- User accesses ZatcaEGS services,
- Setup CustomField on business data (automatically done by web service via Api2)
- Adding Business Information, Creating Certificates and PrivateKeys for Business Data according to the selected environment.
- Getting Compliance CSID, users need OTP for Simulation and Production environments, for Sandbox can use any letters or numbers.
- Sending 6 Sample Invoices to Compliance Check.
- Getting Production CSID.
- User needs to add this certificate information to business data.
- _Zatca EGS does not store any data on the server. User must save all information that will be downloaded automatically when the process is complete._

**Reporting & Clearance**

- Manager sends Invoice data to ZatcaEGS via relay.
- ZatcaEGS will process the Invoice data, convert it to XML, Sign it and then send the Invoice to Zatca Portal.
- The response from the portal will be checked, if the Transaction is accepted, REPORTED. CLEARED or REJECTED, ZatcaEGS will update the business data, change the ICV and PIH in Business Detail as the next delivery reference, and update the Invoice by adding the UUID sent to the Portal, Approval Status and QRCode.
- _Zatca EGS does not store any data on the server. Users must save all information that will be downloaded automatically when the process is complete._

If you have any other Ideas for this project, I would really appreciate it.

I will make a Video Guide, when this application is published to the public.

---

<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: [August 29, 2024, 2:29pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/70 "2024-08-29T14:29:34Z")

</div>

I’m pleased to announce that I have released **ZatcaEGS** with new relay data adjustments. I would appreciate it if someone could try it out in the **Simulation Environment** and provide feedback.

For a usage guide, please check out the [Video Guide](https://youtu.be/9RXJMl2J9J4).

You can access the application here: [ZatcaEGS](https://zatcaegs.azurewebsites.net/).

If you need technical assistance or have suggestions for improving the application, please feel free to contact me via private message. Your feedback is greatly appreciated!

Thank you!

---

<div class="post-metadata">

### Author: ![Ehab](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ehab/32/43831_2.png) [@Ehab](https://forum.manager.io/u/Ehab)
#### Post date: [September 1, 2024, 5:17am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/71 "2024-09-01T05:17:30Z")

</div>

Thank you, @Mabaega, for your efforts. We’ve tested the new update, and it integrates well; however, several key features we rely on in Manager are now missing. We’ve used Manager for years, leveraging custom themes to implement essential functionalities that were not available by default.

The new update introduces QR Phase II in the footers, but these do not function with custom themes, creating a significant challenge. We cannot fully utilize custom features without an adequate alternative, and we also require seamless integration without compromising on these themes.

We request either the ability to use footers with custom themes or a comprehensive solution that ensures compatibility between themes and the integration. Our custom themes are vital for rearranging columns, adding auto-calculating fields, and implementing additional discount types—capabilities that are currently not available through standard options.

We would greatly appreciate @lubos and your guidance @Mabaega on maintaining consistency in our workflow while adopting these new features.

---

<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: [September 1, 2024, 5:38am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/72 "2024-09-01T05:38:42Z")

</div>

@Ehab

try to add this footer code to your custom themes before the `</tbody>` element

```auto
        
        
        <!-- show footer -->
        {% for footer in footers %}
            {{ footer }}
        {% endfor %}
        
        
    </tbody>
</table>

```

This should work with the default custom themes, or you can send me your custom themes via PM, if you have a specific place to put the QRCode in your Invoice.

---

<div class="post-metadata">

### Author: ![zeem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/zeem/32/58164_2.png) [@zeem](https://forum.manager.io/u/zeem)
#### Post date: [September 1, 2024, 5:50am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/73 "2024-09-01T05:50:39Z")

</div>

What about the desktop version?

---

<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: [September 1, 2024, 5:56am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/74 "2024-09-01T05:56:15Z")

</div>

> [@Ehab](#):
>
> Our custom themes are vital for rearranging columns, adding auto-calculating fields, and implementing additional discount types—capabilities that are currently not available through standard options.

In addition to this there are also design customisations that let customers and suppliers easily recognise the business and that are consistent with brand recognition. The overhaul of themes and templates customisation is long overdue. Yes moving away from Liquid made common sense but only putting footers where you can inject with difficulty code is far from ideal.

Having worked with programmers I understand that they often pay less attention to design and user interfaces (UIs) for several reasons:

1. **Focus on Functionality Over Design**

- Programmers are typically more focused on making sure that the software works correctly, efficiently, and reliably. This often means prioritising backend logic, data processing, and system performance over the aesthetics and usability of the user interface.

1. **Lack of Design Expertise**

- Many programmers may not be as skilled in creating intuitive, attractive interfaces, leading to a tendency to overlook design and UI considerations.

1. **Time Constraints**

- Under pressure to deliver working software quickly, programmers might prioritise core functionality and leave design and UI enhancements for later stages, which sometimes get delayed or neglected altogether.

1. **Underestimating the Importance of Design and UI**

- Some developers might consider design and UI improvements as “nice-to-haves” rather than essential components of the product.

1. **Different Mindsets**

- Programming and design involve different ways of thinking. While programming is often about solving logical problems and optimising performance, UI/UX design is more about empathy, psychology, and aesthetics. Balancing these can be challenging.

1. **Assumption that design and UI “Can Be Fixed Later”**

- There’s a common belief in software development that the design and UI can be improved in later stages or versions of the product, which never or half-heartedly happen because of new programming challenges.

1. **Technical Challenges**

- Some design and UI features can be technically challenging to implement and may end-up as obsolete features 🙂 . Programmers might avoid complex design and UI tasks if they believe the effort isn’t justified.

1. **Personal Bias**

- Some programmers may prefer working on backend systems, algorithms, and technical challenges rather than dealing with what they perceive as the more subjective and less intellectually stimulating task of UI design 😉.

Anyway, I hope that @Lubos soon would prioritise developing a means for us to style and customize our documents and reports. For example by making it possible to use HTML5 + CSS themes and templates.

---

<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: [September 1, 2024, 6:19am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/75 "2024-09-01T06:19:56Z")

</div>

The Azure App Service cannot send data to an API hosted on localhost to update “Manager Business Data.”

I will soon release a portable version for Windows OS that can run on a local computer or a local network as a Windows Service, so users won’t need to worry about data being sent through a relay. This version will also be compatible with the Desktop Version.

I am currently analyzing my code to make sure it is still compatible with the latest SDK released by Zatca.

Can anyone try to scan QRCode with the tools provided by Zatca? Is our QRcode still readable?

---

<div class="post-metadata">

### Author: ![Patch](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@Patch](https://forum.manager.io/u/Patch)
#### Post date: [September 1, 2024, 7:01am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/76 "2024-09-01T07:01:14Z")

</div>

> [@Mabaega](#):
>
> I will soon release a portable version for Windows OS that can run on a local computer or a local network as a Windows Service, so users won’t need to worry about data being sent through a relay.

That sound like a good idea.  
In my opinion better solutions again (in my order of preference) would be one of

- including it in the Manager install or at least download options
- NG software hosting the relay including a .manager.io url
- NG software providing / controlling a .manager.io url to the relay

---

<div class="post-metadata">

### Author: ![Ehab](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ehab/32/43831_2.png) [@Ehab](https://forum.manager.io/u/Ehab)
#### Post date: [September 1, 2024, 7:52am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/77 "2024-09-01T07:52:20Z")

</div>

As a reminder, it is essential to have the capability to add multiple access keys and assign different keys to various users, especially since we are utilizing the cloud version.

---

<div class="post-metadata">

### Author: ![mam970](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mam970/32/60324_2.png) [@mam970](https://forum.manager.io/u/mam970)
#### Post date: [September 3, 2024, 12:45pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/78 "2024-09-03T12:45:29Z")

</div>

We are waiting for stand alone guidance.

---

<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: [September 5, 2024, 2:49am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/79 "2024-09-05T02:49:02Z")

</div>

> **[Zatca EGS](https://www.youtube.com/channel/UC3X6X5H5gWTYDQMnqHMfsxQ)**
>
> Share your videos with friends, family, and the world

---

<div class="post-metadata">

### Author: ![mam970](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mam970/32/60324_2.png) [@mam970](https://forum.manager.io/u/mam970)
#### Post date: [September 5, 2024, 6:57am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/80 "2024-09-05T06:57:16Z")

</div>

There is an issue that the EGS.exe file not running in proper way.  
it gives the alert screen to Run Anyway, then disappear.  
It happened very fast so I can’t make a screenshot.

I am working on windows 11 pro.

![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/2/c/2cb6b74d1abba6fbf48cc6d15a45331b52ad4040.png)

---

<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: [September 5, 2024, 7:12am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/81 "2024-09-05T07:12:26Z")

</div>

Try download and Install [.NET SDK](https://download.visualstudio.microsoft.com/download/pr/2e3d0e1d-ad81-4ca7-b186-49f2313547e7/ee8546e4148b87c6e14878b5055406e9/dotnet-sdk-8.0.301-win-x64.exe)

---

<div class="post-metadata">

### Author: ![mam970](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mam970/32/60324_2.png) [@mam970](https://forum.manager.io/u/mam970)
#### Post date: [September 5, 2024, 7:24am UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/82 "2024-09-05T07:24:04Z")

</div>

many thanks, it works

---

<div class="post-metadata">

### Author: ![mam970](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mam970/32/60324_2.png) [@mam970](https://forum.manager.io/u/mam970)
#### Post date: [September 5, 2024, 1:50pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/83 "2024-09-05T13:50:53Z")

</div>

I followed the steps until this stage 🙂

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/9/2/929470df36962c29fa79025b839ca3eb628d2a8c.png)

but stopped at specific point when request to get the CCSID OTP I received this message

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/c/8/c8c6064515d35352c2b3e5d9c8194ed4eedbfa2f.png)

kindly, guide me to pass it.

---

<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: [September 5, 2024, 2:46pm UTC](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942/84 "2024-09-05T14:46:17Z")

</div>

![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/6/56ceae5d833dfbf7583e07d8b7cd5d8eed20937e.png)

Have you input an OTP?  
You can use any number or character for Non Production Environment.  
Or get OTP from Fatoora Portal for Other Environment.

> And as a note, in Non-production Environment, you do not need to use the real VAT Number. The certificate that the server gives us will use the VAT Number 39999999990003.

> Maybe you will get a Warning in the test because of the difference in the VAT Number in the Certificate with the VAT Number listed in the Invoice

.

[Previous page](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942.md?page=3)

[Next page](https://forum.manager.io/t/request-for-guidance-on-integrating-manager-api-with-ksa-fatoora-e-invoicing-phase-ii/52942.md?page=5)
