# PIH is INVALID issue

**URL:** <https://zatca1.discourse.group/t/pih-is-invalid-issue/643>\
**Category:** Clearance and Reporting\
**Created:** [August 28, 2023, 5:03pm UTC](https://zatca1.discourse.group/t/pih-is-invalid-issue/643 "2023-08-28T17:03:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulhaseeb](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@abdulhaseeb](https://zatca1.discourse.group/u/abdulhaseeb)\
**Post date:** [August 28, 2023, 5:03pm UTC](https://zatca1.discourse.group/t/pih-is-invalid-issue/643/1 "2023-08-28T17:03:27Z")

</div>

First invoice of BTOB is getting cleared with default PIH and getting PIH is INVALID when we are trying to clear second invoice with first invoice Hash in PIH field.

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [August 29, 2023, 7:44am UTC](https://zatca1.discourse.group/t/pih-is-invalid-issue/643/2 "2023-08-29T07:44:01Z")

</div>

if you submit it to clearance API it should be cleared without ay problems,  
but if you are talking about the PIH validation using the SDK,  
it’s validating the invoice against what’s found in the SDK folder\> data/PIH/pih.txt file.

Regards,
