> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/gcc-help-and-support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/gcc-help-and-support/english/common-errors-and-resolution/phase-2-errors-and-resolutions.md).

# Phase 2 Errors and Resolutions

List of common E-invoice generation error messages, their cause and resolutions.

<table><thead><tr><th width="138" align="center">Serial No.</th><th width="137">Error Sourc</th><th width="188">Error Message</th><th width="211">Error Cause</th><th width="183">Resolution</th></tr></thead><tbody><tr><td align="center">1</td><td>Cleartax</td><td>Supply date can not be after end date. Please correct supply/end date.</td><td>The supply end date is later than the supply date.</td><td>Check the supply date &#x26; end date.</td></tr><tr><td align="center">2</td><td>Cleartax</td><td>Street name in address is mandatory for seller. Please supply street name.</td><td>Street name is not provided in seller details.</td><td>Check the invoice details &#x26; provide seller street name details.</td></tr><tr><td align="center">3</td><td>Cleartax</td><td>A Device ID already exist with same VAT and EGS serial number.</td><td>Serial &#x26; EGS number used is present in the system. </td><td>Check &#x26; Use Serial &#x26; EGS number which doesn't match with the already existing once.</td></tr><tr><td align="center">4</td><td>Cleartax</td><td>Billing reference is mandatory if invoice type is Credit/Debit note. Please supply billing reference.</td><td>Billing reference ID is not provided.</td><td>Provide reference to original invoice number.</td></tr><tr><td align="center">5</td><td>Cleartax</td><td>Building number is mandatory for buyer if Country code is SA. Please supply building number.</td><td>Building number is not provided.</td><td>Provide building number.</td></tr><tr><td align="center">6</td><td>Cleartax</td><td>Buyer country code must be SA if invoice transaction type is other than export.</td><td>If the invoice type is not export then country code must be SA.</td><td>Check &#x26; provide country as SA if the invoice is not an export invoice.</td></tr><tr><td align="center">7</td><td>Cleartax</td><td>Debit and credit note must contain the reason for this invoice type issuance. Please supply issuance reason for CREDIT/DEBIT note.</td><td>Reason of issuance of credit/Debit note is not provided.</td><td>Provide the reason for issuance of credit/debit note.</td></tr><tr><td align="center">8</td><td>Cleartax</td><td>For the given country code 'SA’ the buyer postal code should be 5 digits long. Please correct postal code.</td><td>Buyer postal should be 5 digits long.</td><td>Check to see if the postal code is provided and is 5 digit long when the country code is SA.</td></tr><tr><td align="center">9</td><td>Cleartax</td><td>Group VAT number or buyer VAT number must be provided, both fields can not be empty . Please supply Vat Number.</td><td>VAT or group VAT is not provided. </td><td>Provide either VAT or Group VAT if the invoice is an standard invoice.</td></tr><tr><td align="center">10</td><td>Cleartax</td><td>If it is an export invoice, the buyer VAT registration number and the buyer group VAT registration number must not exist in the invoice.</td><td>For export invoices , Buyer VAT or Group VAT must not exist on the invoices.</td><td>Check &#x26; remove the buyer VAT or group VAT if it exist on the invoice.</td></tr><tr><td align="center">11</td><td>Cleartax</td><td>Incorrect vat Exemption reason code for provided vat category code. Please correct values.</td><td>Provided Exemption reason code is incorrect for the Vat Category Code.</td><td>Provide the exemption reason code which are acceptable as per ZATCA.</td></tr><tr><td align="center">12</td><td>Cleartax</td><td>Invalid amount specified for *****, please correct the amount. </td><td>Calculated amount is not correct.</td><td>Check the calculation &#x26; provide the Value.</td></tr><tr><td align="center">13</td><td>Cleartax</td><td>Invalid Currency Code for ******, currency code must be same as document currency code.</td><td>Check the currency ID, it should match with document currency.</td><td>Provided currency ID in the **** field should match with document currency.</td></tr><tr><td align="center">14</td><td>Cleartax</td><td>Line amount inclusive vat for line ***** is not correct. Please correct.</td><td>Line amount inclusive is not correct.</td><td>Check if line amount inclusive of VAT is equal to Invoice line net Amount + VAT line amount.</td></tr><tr><td align="center">15</td><td>Cleartax</td><td>Recipient vat Number must have 15 digits. The first and the last digits must be “3”. Please supply correct Vat Number.</td><td>Recipient VAT number is not correct.</td><td>Recipient group group vat Number must have 15 digits. The first and the last digits must be “3”, the eleventh digit must be “1” in case of Group VAT.</td></tr><tr><td align="center">16</td><td>ZATCA</td><td>VAT line amount for line is not correct. Please correct.</td><td>Calculated VAT line amount is not correct.</td><td>Check if Invoice line net amount * Invoiced item VAT rate= VAT Line Amount or not. </td></tr><tr><td align="center">17</td><td>ZATCA</td><td>Unable to execute Business Rules validation.</td><td>Some of the mandatory field is missing in the request body.</td><td>Check if all the mandatory fields are present in the request. </td></tr><tr><td align="center">18</td><td>ZATCA</td><td>Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117).</td><td>VAT tax amount should be provided for each category code.</td><td>Check to see if VAT category tax amount is provided for the relevant category provided in the request.</td></tr><tr><td align="center">19</td><td>ZATCA</td><td>Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116).</td><td>VAT taxable amount should be provided for each category code.</td><td>Check to see if VAT category taxable amount is provided for the relevant category provided in the request.</td></tr><tr><td align="center">20</td><td>ZATCA</td><td>Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications.</td><td>XML validation doesn't comply with ZATCA standards.</td><td>One or more mandatory tags is missing in the request payload.</td></tr><tr><td align="center">21</td><td>ZATCA</td><td>The buyer name (BT-44) must be present in the tax invoice and associated credit notes and debit notes (KSA-2, position 1 and 2.</td><td>Buyer name is not present in the tax invoice.</td><td>Provide the buyer name in the tax invoice.</td></tr><tr><td align="center">22</td><td>ZATCA</td><td>The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero).</td><td>Where VAT category code is exempt from tax and VAT tax amount is not Zero.</td><td>Where VAT category code is exempt from tax check whether VAT tax amount is Zero or not.</td></tr></tbody></table>
