ClearTax Docs
Subscribe for Updates
  • Introduction to ClearTax APIs
  • โ˜๏ธClear Finance Cloud
    • Introduction to Clear Finance Cloud
    • Learn Clear Finance Cloud Basics
      • API client
      • Access token
      • FTP client
      • How to get Custom Upload Template ID?
    • CFC API Reference
      • Resources and Masters
        • Sale Document Line Object
        • Purchase Document Line Object
      • Generate Access Token API
      • Ingestion API
        • Ingest Documents via File
          • Get Pre-signed URL
          • Upload File to Storage
          • Trigger File Ingestion
          • Get File Ingestion Status
        • (Deprecated) Ingest Documents via JSON
    • Notifications
  • ๐Ÿ‡ฎ๐Ÿ‡ณGLS API
    • GLS API Reference
      • Resources and Masters
      • Advanced Ingestion API Reference
        • Get Pre-signed URL
        • Upload File to Storage
        • Create Ingestion Activity
        • Get Ingestion Activity Status
  • ๐Ÿ‡ฎ๐Ÿ‡ณGST API
    • Introduction to GST API
    • GST 2.0 API Reference
      • Upload Documents
    • GST FTP Magnet
  • ๐Ÿ‡ฎ๐Ÿ‡ณMax ITC API
    • Introduction to Max ITC API
    • Getting Started with Max ITC API
    • Max ITC API Reference
      • Resources and Masters
        • Input and output templates
        • Error Code Master
        • Learn Max ITC API Architecture
      • Max ITC APIs
        • Fetch Max ITC Configuration
        • Upload Purchase Documents
          • Ingest PR via File
          • (Deprecated) Ingest PR via JSON
        • Trigger Max ITC Workflow
        • Get Max ITC Results
        • Postman Collection
    • Max ITC FTP Magnet
  • ๐Ÿ‡ฎ๐Ÿ‡ณTDS API
    • Introduction to TDS API
    • TDS API Reference
      • Resources and Masters
        • Deduction Document Line Objects
        • Output Template(Error)
      • TDS APIs
        • Upload Deductions
          • Ingest Deductions via File
            • Get Pre-signed URL
            • Upload File to Storage
            • Trigger File Ingestion
            • Get File Ingestion Status
          • (Deprecated) Ingest Deductions via JSON
  • ๐Ÿ‡ฎ๐Ÿ‡ณE-Invoicing API
    • Introduction to E-Invoicing API
    • Learn E-Invoicing API Basics
      • How to get E-Invoicing User Auth Token?
      • How to scan the E-Invoice QR code?
      • How to add GSTIN to E-Invoicing?
        • Clear IRP API Credentials
    • Learn E-waybill API Basics
    • E-Invoicing API Reference
      • Setting up your account
      • Clear Schema
        • Generate IRN
        • Cancel IRN
        • Get E-Invoice PDF
        • Get E-Invoice by IRN
        • Generate E-Waybill by IRN
        • Generate E-Waybill for Non-IRN documents
        • Bulk Generate E-Waybill for Non-IRN documents
        • Cancel E-Waybill
        • Get E-Waybill PDF
        • Update E-Waybill Transporter ID
        • Update E-Waybill Part-B
        • Extend E-Waybill Validity
        • Generate/Regenerate Consolidated EWB
        • Get Consolidated EWB PDF
        • Initiate Multi-Vehicle E-Waybills
        • Update EWB Status from NIC
        • Download E-waybills by Others
        • Get E-Waybill Download Status
        • Get E-Waybills
        • Get latest E-Waybill status from Government
        • Generate B2C Payment QR Code
          • Generate B2C Payment QR Code (Lite)
        • Get Signed PDF
        • Sign PDF API Base 64 Encoded
        • Send an E-Invoice via Email
        • Get Invoice Details
      • Government Schema
        • Generate IRN
        • Cancel IRN
        • Get Invoice by IRN
        • Generate E-Waybill by IRN
      • Resources and Masters
        • E-Invoice Object
        • Country Code Master
        • State Code Master
        • Pincode Master
        • Pincode State Mapping Pattern
        • Port Code Master
        • Currency Code Master
        • UQC Master
        • Tax Rates
        • Error Codes
    • E-Invoicing FTP Magnet
  • ๐Ÿ‡ฎ๐Ÿ‡ณInvoicing API
    • Invoicing API Reference
      • Create an Invoice
      • Create Document (Non-Sale)
      • Download PDF of a Document
      • Get Document details
      • Resources and Master
        • Country Master
        • State Master
        • Pincode Master
        • Port Master
        • Currency Master
        • Unit Master
        • Document Types
        • Supply Types
  • ๐Ÿ‡ฒ๐Ÿ‡พE-INVOICING MALAYSIA API
    • E-Invoicing Malaysia API Reference
      • Resources and Masters
        • Error resolution guide
        • Frequently asked questions (FAQs)
        • E-Invoice Object
      • Generate Access Token API
      • Malaysia E-Invoicing APIs
        • Generate E-Invoice for a Document
        • Status Check for Submitted E-Invoice
        • Cancel E-Invoice
        • Upload E-Invoice
        • Get Documents
        • Get E-Invoice PDF
        • Get Document via UUID
        • Delete Invoice
        • Send Bulk Email
        • Search Taxpayer Tin API
  • E-Invoicing FTP Magnet (XML)
  • E-Invoicing FTP Magnet (Excel)
  • ๐Ÿ‡ธ๐Ÿ‡ฆE-Invoicing KSA API
    • Introduction to E-Invoicing KSA API
    • Learn E-Invoicing KSA API Basics
      • How to get E-Invoicing KSA Auth Token?
      • How to add a VAT number to KSA E-Invoicing Account?
      • How to add Branch for existing Vat to KSA E-Invoicing Account ?
      • How to register a device for a VAT?
      • How to generate OTP on ERAD Portal?
      • How to get Print Template ID?
      • KSA E-Invoicing Integration Architecture
    • E-Invoicing KSA API Reference
      • Resources and Masters
        • E-Invoice Object
        • Error Details Object
        • Data Types
        • Code Lists
        • Common Errors and Resolution
      • Authentication
      • Generate Access Token API
      • KSA E-Invoicing APIs
        • Generate E-Invoice
          • Additional Standard (B2B) E-Invoice Examples
          • Additional Simplified (B2C) E-Invoice Examples
        • Generate E-Invoice Async
        • Generate E-Invoice via XML
        • Send Signed E-Invoice XML To ZATCA
        • Get Bulk Invoice Lite
        • Get Invoice
        • Get E-Invoice PDF
        • Get E-Invoice PDF/A-3 with PDF API
        • Register Device
        • Get PCSID Generation Status
        • Renew PCSID
        • Generate E-Invoice (Phase I)
        • Generate QR Code (Phase I)
        • Generate Device ID
        • Generate CSID and PCSID
        • Send E-Invoice via Email
        • Add Business units API
    • E-Invoicing KSA FTP Magnet
    • E-Invoicing KSA XML reporting FTP Magnet
  • ๐ŸงฉAdd-ons and Extensions
    • SAP Add-on
      • SAP Connectivity Checklist
        • Steps to import SSL/TLS certificates in SAP
        • Steps to check ICM settings in SAP
        • Steps to test connectivity in SAP
        • Steps to troubleshoot connectivity issues in SAP
    • Tally Add-on
  • Microsoft Dynamics 365(F&O)
  • General
    • Go-Live Cutover Activity Checklist
    • How to check DNS resolution?
    • How to check hostname reachability?
    • How to check if hostname is trusted?
    • How to get the SSL certificate of a host?
  • โญGST GSP API
    • Introduction to GST GSP API
    • Getting Started with GST GSP API
    • GST GSP API Reference
      • Sample API
    • Migrating from Karvy GST GSP
  • โญE-Waybill GSP API
    • Introduction to E-Waybill GSP API
    • Getting Started with EWB GSP API
      • How to register EWB GSP on NIC?
      • Sandbox GSTIN for EWB GSP
    • E-Waybill GSP API Reference
      • Sample API
    • Migrating from Karvy EWB GSP
  • โญE-Invoicing GSP API
    • Introduction to E-Invoicing GSP API
    • Getting Started with EINV GSP API
      • How to register EINV GSP on IRP?
      • Sandbox GSTIN for EINV GSP
    • E-Invoicing GSP API Reference
      • Sample API
  • Subscribe for Updates
  • ๐Ÿšซ(Deprecated) GST 1.0 API
    • (Deprecated) Introduction to GST API
    • (Deprecated) Learn GST API Basics
    • (Deprecated) Getting Started with GST API
      • (Deprecated) How to set up ClearTax account?
      • (Deprecated) How to authenticate API requests?
      • (Deprecated) How to upload an invoice from File?
      • (Deprecated) How to create custom import template?
    • (Deprecated) GST 1.0 API Reference
      • Taxpayer Information
      • (Deprecated) Invoices
      • (Deprecated) Bills of Supply
      • (Deprecated) Credit Debit Notes (CDN)
      • (Deprecated) Advances
      • (Deprecated) Resources and Masters
        • (Deprecated) How to read GST error response
        • (Deprecated) Unit of Measurement master
        • (Deprecated) State master
        • (Deprecated) Document Classification/Section Name master
      • (Deprecated) Items
      • (Deprecated) Contacts
      • (Deprecated) GST File Upload API Reference
  • ๐ŸšซDeprecated E-Waybill API
    • (Deprecated) Introduction to E-Waybill API
    • (Deprecated) Learn E-Waybill API Basics
    • (Deprecated) Getting Started with E-Waybill API
    • (Deprecated) E-Waybill API Reference
      • (Deprecated) Resources and Masters
        • (Deprecated) Unit Master
        • (Deprecated) State Master
        • (Deprecated) Error Master
      • (Deprecated) E-Waybill JSON API Reference
        • (Deprecated) Generating E-Waybill
        • (Deprecated) Getting E-Waybill
        • (Deprecated) Updating E-Waybill
        • (Deprecated) Extending Validity of E-Waybill
        • (Deprecated) Multi-vehicle E-Waybill
        • (Deprecated) Printing E-Waybill
        • (Deprecated) Cancelling E-Waybill
        • (Deprecated) Generating Consolidated E-Waybill
        • (Deprecated) Getting Consolidated E-Waybill
        • (Deprecated) Regenerating Consolidated E-Waybill
        • (Deprecated) Printing Consolidated E-Waybill
      • (Deprecated) E-Waybill File Upload API Reference
        • (Deprecated) Creating or Updating Documents
        • (Deprecated) Getting Upload Status
        • (Deprecated) Getting Upload Validation
        • (Deprecated) Getting Upload History
        • (Deprecated) Rate Limiting & Best Practices
    • (Deprecated) E-Waybill FTP Magnet
Powered by GitBook
On this page
  • Error Source - ClearTax
  • Error Source - ZATCA

Was this helpful?

  1. E-Invoicing KSA API
  2. E-Invoicing KSA API Reference
  3. Resources and Masters

Common Errors and Resolution

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

Error Source - ClearTax

Error Message
Error Cause
Resolution

Supply date cannot be after the end date. Please correct the supply/end date.

The supply end date is later than the supply date.

Check the supply date & end date and modify one of those so that the dates are correct.

Street name in address is mandatory for seller. Please supply the street name.

Street name is not provided in seller details.

Check the invoice details & provide seller street name details.

A Device ID already exist with same VAT and EGS serial number.

EGS serial number used is already present in the system.

Check device details and use EGS serial number which doesn't match with the already existing one.

Billing reference is mandatory if invoice type is Credit/Debit note. Please supply billing reference.

Previous billing reference ID is not provided.

Provide reference to original invoice number while generating credit/debit note.

Building number is mandatory for buyer if Country code is SA. Please supply building number.

Building number is not provided in invoice details.

Provide building number in buyer details.

Buyer country code must be SA if invoice transaction type is other than export.

If the invoice type is not export then country code must be SA.

Check & provide the country as โ€˜SAโ€™ if the invoice is not an export invoice.

Debit and credit note must contain the reason for this invoice type issuance. Please supply issuance reason for CREDIT/DEBIT note.

Reason for issuance of credit/debit note is not provided.

Provide the reason for issuance of credit/debit note as this is required.

For the given country code 'SAโ€™ the buyer postal code should be 5 digits long. Please correct postal code.

Given buyer's postal code is not 5 digits long.

Check to see if the buyer postal code is provided and is 5 digit long when the country code is SA.

One of Group VAT number or buyer VAT number must be provided, both fields can not be empty . Please supply VAT Number.

VAT or group VAT is not provided.

Provide either VAT or Group VAT if the invoice is a standard invoice.

If it is an export invoice, the buyer VAT registration number and the buyer group VAT registration number must not exist in the invoice.

For export invoices , Buyer VAT or Group VAT is given which is not expected.

Check and remove the buyer VAT or group VAT if it exists in the invoice details.

Incorrect VAT Exemption reason code for provided VAT category code. Please correct the values.

Provided exemption reason code is incorrect for the VAT category code.

Provide the exemption reason code which are acceptable as per ZATCA.

Invalid amount specified for <*****>, please correct the amount.

Calculated amount for the mentioned field is not correct.

Check the calculations and provide the correct value.

Invalid Currency Code for <******>, currency code must be the same as document currency code.

Check the currency ID, it doesnโ€™t match with document currency.

Provide currency ID in the <****> field which should match with document currency.

Line amount inclusive of VAT for line <*****> is not correct. Please correct.

Calculation of Line amount inclusive of VAT is not correct.

Check if line amount inclusive of VAT is equal to Invoice line net Amount + VAT line amount.

Recipient VAT Number must have 15 digits. The first and the last digits must be โ€œ3โ€. Please supply correct VATNumber

Given recipient VAT number is not correct.

Recipient group VAT number or 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.

Error Source - ZATCA

Error Message
Error Cause
Resolution

VAT line amount for line is not correct. Please correct.

Calculated VAT line amount is not correct.

Check if Invoice line net amount * Invoiced item VAT rate= VAT Line Amount.

Unable to execute Business Rules validation.

Some of the mandatory field is missing in the request body or the request body contains additional values that are not expected.

Check if all the mandatory fields are present and as per the guidelines in the request payload.

Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117).

VAT tax amount is missing for one of the category codes.

Check to see if VAT category tax amount is provided for all the relevant category codes provided in the request payload.

Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116).

VAT taxable amount should be provided for each category code.

Check to see if VAT category taxable amount is provided for the relevant category provided in the request.

Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications.

Schema of the XML is incorrect and doesn't comply with ZATCA standards.

One or more mandatory tags is missing in the request payload. Check the xml schema from the sample and correct it.

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).

Buyer name is not present in the tax invoice.

Provide the buyer name in the tax invoice.

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).

Where VAT category tax amount is given as non-zero while zero is expected for exempt transactions.

When VAT category code is exempt from tax for the line item, check whether the VAT tax amount is Zero or not. Exempt line items should have a zero tax amount

PreviousCode ListsNextAuthentication

Last updated 1 year ago

Was this helpful?

๐Ÿ‡ธ๐Ÿ‡ฆ