# B2B Invoice Rejection

**URL:** <https://zatca1.discourse.group/t/b2b-invoice-rejection/6138>\
**Category:** Clearance and Reporting\
**Created:** [March 5, 2025, 8:38am UTC](https://zatca1.discourse.group/t/b2b-invoice-rejection/6138 "2025-03-05T08:38:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shzzamx](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/shzzamx/32/480_2.png) [@Shzzamx](https://zatca1.discourse.group/u/Shzzamx)\
**Post date:** [March 5, 2025, 8:38am UTC](https://zatca1.discourse.group/t/b2b-invoice-rejection/6138/1 "2025-03-05T08:38:55Z")

</div>

I am Submitting an B2B invoice to Zatca on production and getting error  
this response

{“validationResults”:{“infoMessages”:,“warningMessages”:,“errorMessages”:[{“type”:“ERROR”,“code”:null,“category”:“Bad Request”,“message”:“Unable to sign the invoice due to: unable to generate qr code for the provided invoice xml document - Cannot invoke "org.dom4j.Node.getText()" because the return value of "org.dom4j.XPath.selectSingleNode(Object)" is null”,“status”:“ERROR”}],“status”:“ERROR”},“clearanceStatus”:“NOT\_CLEARED”,“clearedInvoice”:null}.

---

<div class="post-metadata">

**Author:** ![idaoud](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@idaoud](https://zatca1.discourse.group/u/idaoud)\
**Post date:** [March 5, 2025, 4:13pm UTC](https://zatca1.discourse.group/t/b2b-invoice-rejection/6138/2 "2025-03-05T16:13:45Z")

</div>

Dear @Shzzamx

Thanks for reaching out,

To provide comprehensive support as usual, Can I kindly ask you to share the full body (Request) with the API that you are hitting?

Thanks,  
Ibrahem Daoud.

---

<div class="post-metadata">

**Author:** ![Owais](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Owais](https://zatca1.discourse.group/u/Owais)\
**Post date:** [May 8, 2025, 12:25pm UTC](https://zatca1.discourse.group/t/b2b-invoice-rejection/6138/3 "2025-05-08T12:25:28Z")

</div>

Hi shzzzamx,

hope you are fine.

can you please me tell me did you find the solution?

thanks.

---

<div class="post-metadata">

**Author:** ![Shzzamx](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/shzzamx/32/480_2.png) [@Shzzamx](https://zatca1.discourse.group/u/Shzzamx)\
**Post date:** [May 22, 2025, 10:39am UTC](https://zatca1.discourse.group/t/b2b-invoice-rejection/6138/4 "2025-05-22T10:39:14Z")

</div>

> [@Shzzamx](#):
>
> Unable to sign the invoice due to: unable to generate qr code for the provided invoice xml document

hello brother hopefully you would be doing well  
i have some queries about prepayment and its adjustment invoice

1:can we use single prepayment invoice in multiple adjustments if yes then how because in xml implementation documentation we can use multiple prepayments in single delivery invoice but not single prepayment in multiple adjustment  
2:secodly during providing the invoice data of prepayment we are providing the tax category and code of the prepayment invoice while there could be a case when we have one item of Z category and one item of S category  
then which tax category we should provide?
