KSA E-Invoicing and Simplified VAT Report

Hi Kenneth, I have ERPNext 7.2.31, Frappe Framework : v7.2.31, I am getting error Value Error: Document Attached to child table must be dict or BaseDocument not " + str(type(value))[1:-1], at the time of install KSA_VAT App, kindly help me

1 Like

Hi???, I have ERPNext 7.2.31, Frappe Framework : v7.2.31, I am getting error Value Error: Document Attached to child table must be dict or BaseDocument not " + str(type(value))[1:-1], at the time of install KSA_VAT App, kindly help me

hi Imtiyaz did you find any solution to print qr code on pos invoices?

Hiā€¦Zahidā€¦No I didnā€™t find any solution yet.

A video explainer on how KSA e-inovicing and bar code works is here

1 Like

The QR Image is not updating when the date on the invoice [draft] is corrected/ updated.

Steps to reproduce the error

  1. Create a new invoice and save it in the draft mode and download the pdf.
  2. change the date and time in the draft invoice and download the pdf.

Compare both QR codes in the invoices.

I suggest we make the qr code generation on Submit

I donā€™t know about the custom app.
But in ERPNext v13.16.1, the QR is generated only on Submit.

1 Like

What about POS invoice?

POS invoice is not supported as of now.

Hello,

We noticed that after scanning qr code instead of appearing Invoice total amount with VAT, its coming Total amount with out VAT.

This issue was fixed in the recent release v13.16 through this pull request fix: Invoice amount in KSA E Invoice QR Code by deepeshgarg007 Ā· Pull Request #28708 Ā· frappe/erpnext Ā· GitHub

QR code in POS Invoice is expexted to merged in the next version 13.17 https://github.com/frappe/erpnext/pull/28799

Hi,
QR code okay in updated version. I have created a new site and checked.
After uninstalling ksa_vat app from production site I cannot open KSA_VAT settings page.

How can I recreate those pages.
Is there any way to repatch erpnext.

these things happened while uninstalling ksa_vat app

  • removing DocType ā€˜KSA VAT Purchase Accountā€™ā€¦
  • removing DocType ā€˜KSA VAT Sales Accountā€™ā€¦
  • removing DocType ā€˜KSA VAT Settingā€™ā€¦
  • removing Workspace ā€˜KSA VATā€™ā€¦
  • removing Print Format ā€˜KSA VAT Formatā€™ā€¦
  • removing Print Format ā€˜Simplified VAT Invoiceā€™ā€¦
  • removing Module Def ā€˜KSA VATā€™ā€¦
  • dropping Table for ā€˜KSA VAT Sales Accountā€™ā€¦
  • dropping Table for ā€˜KSA VAT Purchase Accountā€™ā€¦
  • dropping Table for ā€˜KSA VAT Settingā€™ā€¦

Hello,

Solved. Re entered country to Saudi Arabia @ company list.

@Mohammad_Ahmad_Zulfi is there a plan to include the specification for Phase 2 of KSA Zatca integrations in the regional module ?

Not yet. Do you have detailed scope for that, I can look into it if you have summarised it?

the version i installed 14
i have got a problem with vat report it shows only zero values

1 Like

Dear @saleh_alesayi , You have to add item tax template in item group. Then it will show the report.

@saleh_alesayi
Check below post, may be this will help you.

https://discuss.frappe.io/t/erpnext-v14-ksa-report-showing-zero-values/97251/7?u=hafiz4saqib