Product Help and Support
What's newVideo tutorialsFAQsContact support
  • Product Guides
  • Clear Finance Cloud
    • 📢Release Notes - Clear Finance Cloud
    • GST Compliance
      • GSTR-1 Filing
      • GSTR-3B Filing
      • GSTR-6 Filing
      • GSTR-7 Filing
      • GSTR-8 Filing
      • ITC-04 Filing
      • GSTR-9 Filing
      • GSTR-9C Filing
      • GSTR-1 vs SR Recon
      • GSTR-2B vs PR Recon
      • Ewb vs G1 Recon
    • E-Invoicing
      • ClearE-Invoicing Video Tutorials
      • Authorising Clear to generate IRN
      • Get started with ClearE-Invoicing
        • Account Setup
          • Create an account
          • Register Defmacro as GSP
          • Set up Business Unit
          • Upload Documents
          • Generate IRN
        • Quick Start Guide
          • Add new members to account
          • Add additional GSTINs/Branches
          • Add NIC Credentials
          • Add UPI ID for B2C QR Code
      • E-Invoicing
        • Upload Data
          • User Guides
            • Upload E-Inv Data - Government Template
            • Upload E-Inv Data - Custom Template
          • FAQs
        • E-Invoice Generation
          • User Guides
          • FAQs
        • E-invoice Cancellation
          • User Guide
          • FAQs
        • E-Invoice Printing
          • User guides
          • FAQs
        • Downloading e-invoices
        • E-Invoice Email
        • Import History
        • E-Inv Vs Sales Reconciliation
        • B2C QR Code
          • FAQs
      • E-Way Bills
        • Eway bill data upload
          • User guides
            • IRN based Eway bill (B2B)
            • Unified template to generate E-way bill for any document type
        • E-Way Bill Generation
        • Multi-Vehicle E-way Bill
        • Consolidated E-Way Bill
        • Update Transporter of E-way bills
        • Printing an E-Way Bill
        • Extend the validity of an e-Way bill
        • Filter by Blank Transporter ID or Vehicle Number
      • Filtering expiring e-Way bills
      • Settings/Configurations
        • ClearIRP API credentials
          • How do I register my GSTIN on ClearIRP from Clear eInvoicing?
          • How do I create API creds if my GSTIN is already registered?
          • I have already created API credentials for my GSTIN, how do I add them?
          • FAQs
        • NIC Credentials
        • Integration Settings
        • E-Way Bill Settings
        • Import Settings
        • Email Settings
        • Business Settings
        • Contact Master
        • User Roles
        • Copy of User Roles
      • E-Invoice & E-way bill error resolution
      • Tally Connector for E-Invoicing
        • Installation
        • User Manual
      • Help
      • FAQs
      • What's new in ClearE-Invoicing
    • ClearID
  • For Enteprises
    • ClearGST
      • ClearGST Video Tutorials
      • Get started with ClearGST
        • Account Setup
          • Add new members to business
          • Install ClearTax Assistant
        • Quick Start Guide
          • Filing Dashboard
          • GSTIN Verification
          • Collect GSTIN of customers
          • Import Data
      • Generate Reports
        • Comparison Reports
          • GSTR-3B vs 1 Comparison Report
          • GSTR-3B Vs 2A Comparison Report
        • Purchase and 2A/2B/6A/4A Reports
          • Multi-month GSTR-2A Report
          • Multi-month GSTR-2B Report
          • GSTR-4A Report
          • Supplier Compliance Reports
        • Sales and G1
          • Rate wise Sales Summary Report
          • Sales HSN Summary Report
          • GSTR-1 Rate wise Summary Report
          • GSTR-1 HSN Summary Report
        • PAN Level Reports
          • PAN Level Multi-Month GSTR-2B Report
        • ITC Cash Ledger Reports
          • Cash Ledger Reports
          • ITC Ledger Reports
        • Tax Saving Reports
          • GSTR 3B vs 1 vs Books Report
          • GSTR 3B vs 2B vs Books Report
        • Filed Reports
      • Reconciliation
        • GSTR-1 vs Sales Register Matching
        • GSTR-2A Vs PR GSTIN Matching
        • GSTR-2A Vs PR PAN Matching
        • GSTR-2B Vs PR GSTIN Matching
        • GSTR-1 Vs E-Way Bill Matching
        • GSTR-9 (Table-8A) Vs PR Matching
      • File Returns
        • GSTR-1
        • GSTR-3B
        • GSTR-4
        • GSTR 6
        • GSTR-9
        • GSTR-9C
      • Tally Connector for GST
        • Prerequisites to Configure Tally for GST
        • Configuring Tally for GST
        • User Manual for GST Tally Connector
        • Common Tally Errors and Resolution
          • Connection issues with Tally
            • Firewall issues for Tally Connector
          • Errors in data imported via Tally
            • Mismatch in Total CGST Value
            • Mismatch in Reverse Charge
            • Mismatch in Export Type
            • Length of Import Bill of Entry Number
            • Invalid receiver GSTIN
            • Mismatch in Seller GSTIN and State
            • Invalid HSN/SAC Code
      • FAQs
        • Get started
        • Data Import
        • File Returns
        • Generate Reports
        • Reconciliation
      • What's new in ClearGST
    • ClearMax ITC
      • Get started with ClearMax ITC
      • Max ITC Reconciliation
        • Data Import
      • ITC Claim Wizard
      • Actions after running recon
      • Extra Functionalities
      • Vendor Payments
      • Table 4 changes
      • FAQs
    • ClearCapture
      • Get started with ClearCapture
        • Register Defmacro as GSP
        • Create an account
        • Add a Business Unit
        • Add GSTIN credentials
        • Add NIC credentials
        • Import invoices
        • Review invoices
        • Export invoices
        • Smart Aggregation
        • Export Issues
      • FAQ's
    • ClearTDS
      • TDS Returns
        • Prepare TDS Return
        • e-Filing TDS Returns
        • e-filing 24Q4 return
          • Form 24Q4 - Original return
          • Form 24Q4 - Correction return
        • Corrections to TDS Returns
      • Other Features
        • Filing Status Dashboard
        • Repository
        • Import and Track LDCs
        • Import Challans
        • ClearTDS Reports
        • Generate Form 16 and other TDS certificates
        • Settings
        • Retrieve Username Password in ClearTDS
        • LDC_Challan Tagging
      • 26AS Recon
        • Product Guide - 26AS Recon
    • ClearTax E-Invoicing KSA
      • Product Guides
        • Onboarding on ClearTax
        • Onboarding for E-Invoicing
        • Exploring the e-Invoicing homepage
        • Onboarding a new device (Online)
        • Onboarding a new offline device for PoS terminals
      • e-Invoicing with ClearTax on NCR-Aloha
        • Prerequisites for offline e-Invoice application
        • Create an account on ClearTax
        • Onboarding on web portal for e-Invoicing
        • Downloading and installing the offline e-Invoice application
        • Device registration on the PoS terminal
        • Generating e-Invoices and printing
      • Product Updates
      • ZATCA Updates
        • ZATCA Violations
        • ZATCA E-invoicing for Wave 2 customers announced
        • ZATCA Portal and APIs are going live
        • New SDK version update released by ZATCA
        • ZATCA Announces the Cancellation of Fines and Penalties
        • New SDK version update released by ZATCA
    • ClearTax E-Invoicing Malaysia
      • Onboarding
        • Create your profile
        • Register your business
      • B2B sales documents
        • Import your data
        • Generate e-invoice(s)
        • Generate consolidated e-invoice
        • Audit Trail
        • Delete imported data
        • Cancel an e-invoice
        • View rejection request
        • Print e-invoice(s)
        • Download report
        • E-mail invoice
        • Check sales import history
      • Purchase documents
        • Import data
        • Generate self-billed e-invoice(s)
        • Cancel a self-billed e-invoice
        • Print e-invoice(s) & download report
        • Check purchase import history
      • MIS Dashboard
      • Reconciliations
        • Reconciliation logic
        • Sales Register vs E-invoice Reconciliation
        • Purchase Register vs E-invoice Reconciliation
      • Settings
        • User access management
        • Custom Ingestion Template
        • Alerts and Communications
        • E-invoicing
          • Timezone
      • E-Invoicing customer portal
        • Registration & account creation
        • Generate your e-invoice
        • Download/Print generated e-invoice
      • Resources
        • Frequently asked questions (FAQs)
        • Error resolution guide
        • Add ClearTax as an intermediary on MyInvois portal
    • Clear Invoicing
    • Platform
      • SSO
    • Our APIs
  • For SMEs
    • ClearGST
      • ClearGST Video Tutorials
      • Get started with ClearGST
        • Account Setup
          • Add new members to business
          • Install ClearTax Assistant
          • Configuring Tally
        • Quick Start Guide
          • Filing Dashboard
          • GSTIN Verification
          • Collect GSTIN of customers
          • Import Data
      • Generate Reports
        • Comparison Reports
          • GSTR-3B vs 1 Comparison Report
          • GSTR-3B Vs 2A Comparison Report
        • Purchase and 2A/2B/6A/4A Reports
          • Multi-month GSTR-2A Report
          • Multi-month GSTR-2B Report
          • GSTR-4A Report
          • Supplier Compliance Reports
        • Sales and G1
          • Rate wise Sales Summary Report
          • Sales HSN Summary Report
          • GSTR-1 Rate wise Summary Report
          • GSTR-1 HSN Summary Report
        • PAN Level Reports
          • PAN Level Multi-Month GSTR-2B Report
        • ITC Cash Ledger Reports
          • Cash Ledger Reports
          • ITC Ledger Reports
        • Tax Saving Reports
          • GSTR 3B vs 1 vs Books Report
          • GSTR 3B vs 2B vs Books Report
        • Filed Reports
      • Reconciliation
        • GSTR-1 vs Sales Register Matching
        • GSTR-2A Vs PR GSTIN Matching
        • GSTR-2A Vs PR PAN Matching
        • GSTR-2B Vs PR GSTIN Matching
        • GSTR-1 Vs E-Way Bill Matching
        • GSTR-9 (Table-8A) Vs PR Matching
      • File Returns
        • GSTR-1
        • GSTR-3B
        • GSTR-4
        • GSTR-6
        • GSTR-9
        • GSTR-9C
      • FAQs
        • Get Started
        • File Returns
        • Generate Reports
        • Reconcilliation
      • What's new in ClearGST
    • ClearOne Suite
      • Get Started with ClearOne Suite
        • Account Setup
        • Quick Start Guide
          • Add Customers
          • Add Items
      • ClearInvoicing
      • ClearCompliance
        • ClearE-Invoicing
          • Create NIC Credentials
          • Add NIC Credentials
          • E-Invoice Generation
        • ClearE-WayBills
          • E-Way Bill Generation
      • FAQs
  • For Tax Experts
    • ClearPro Suite
      • ClearGST
        • ClearGST Video Tutorials
        • Get started with ClearGST
          • Account Setup
            • Add new clients
            • Add new members to Business
            • Install ClearTax Assistant
            • Configuring Tally
          • Quick Start Guide
            • Filing Dashboard
            • GSTIN Verification
            • Collect GSTIN of customers
            • Import Data
        • Generate Reports
          • Filed Reports
          • Tax Saving Reports
            • GSTR 3B vs 1 vs Books Report
            • GSTR 3B vs 2B vs Books Report
          • ITC Cash Ledger Reports
            • Cash Ledger Reports
            • ITC Ledger Reports
          • PAN Level Reports
            • PAN Level Multi-Month GSTR-2B Report
          • Sales and G1
            • Rate wise Sales Summary Report
            • Sales HSN Summary Report
            • GSTR-1 Rate wise Summary Report
            • GSTR-1 HSN Summary Report
          • Comparison Reports
            • GSTR-3B vs 1 Comparison Report
            • GSTR-3B Vs 2A Comparison Report
          • Purchase and 2A/2B/6A/4A Reports
            • Multi-month GSTR-2A Report
            • Multi-month GSTR-2B Report
            • GSTR-4A Report
            • Supplier Compliance Reports
        • Reconciliation
          • GSTR-1 vs Sales Register Matching
          • GSTR-2A Vs PR GSTIN Matching
          • GSTR-2A Vs PR PAN Matching
          • GSTR-2B Vs PR GSTIN Matching
          • GSTR-1 Vs E-Way Bill Matching
          • GSTR-9 (Table-8A) Vs PR Matching
        • File Returns
          • GSTR-1
          • GSTR-3B
          • GSTR-4
          • GSTR-6
          • GSTR-9
          • GSTR-9C
        • FAQs
          • Get Started
          • File Returns
          • Generate Reports
          • Reconcilliation
        • What's new in ClearGST
      • ClearTDS
        • Get started with ClearTDS
          • Retrieve Username Password in ClearTDS
        • TDS Returns
          • Prepare TDS Return
          • e-Filing TDS Returns
          • Corrections to TDS Returns
          • Revise TDS Returns
        • Generate Form 16 in ClearTDS
      • ClearTaxCloud
        • FAQs
      • ClearPro Desktop App
        • Import Data using Desktop App
        • File Returns on Desktop
          • GSTR-1 on Desktop App
          • GSTR-1 NIL Return on Desktop App
          • GSTR-3B on Desktop App
          • GSTR-3B Nil Return on Desktop app
          • GSTR-4 on Desktop App
          • GSTR-9 on Desktop App
          • GSTR-9C on Desktop App
        • Create a Challan and Pay Tax
  • For Individuals
    • File ITR
      • File ITR on ClearTax
      • FAQs
    • Invest and Save
      • FAQs
    • Expert Assistance
      • FAQs
  • Other Support Links
  • Video Tutorials
  • FAQs
  • ClearLearn
  • Contact support
Powered by GitBook
On this page
  • Step 1: Saving Seller details
  • Step 2: Saving seller details
  • Step 3: Device registration with OTP
  1. For Enteprises
  2. ClearTax E-Invoicing KSA
  3. e-Invoicing with ClearTax on NCR-Aloha

Device registration on the PoS terminal

Steps involved in registering and activating a device for generating ZATCA phase 2 e-Invoices

After entering the details on the web portal for creation of an offline device proceed to the POS terminal to complete the device registration with OTP. The CSR (certificate signing request) would be generated using the details entered in the web application which would be fetched while continuing the device registration process on the NCR-Aloha PoS terminal.

Step 1: Saving Seller details

The first step in device registration is to prepare the details of the place of business so that it can be used directly during device registration and e-Invoice generation process. The details that are required from you are:

API_CODE

API code of the terminal

Agent-1234-02

POS_CODE

Code of the POS terminal

POS-1234-02

POS_NAME

Name of the POS

2

Branch_Code

The name of the branch that will be visible on ClearTax

1234-RBS Lab

Branch_Description

Brief description of the branch from where invoices are generated

1234-Jeddah

Branch_Tax_Code

Tax code that is maintained at the PoS terminal

1000000201

Branch_address

Address where the PoS terminal is located which would be used in e-Invoicing

King Abdul Aziz Rd Jeddah

Inv_CompanyCode

VAT number of the business from which the sales invoices are being generated and will be always used in e-Invoice generation.

311555804900003

Country_Code

Will be SA always and to be used as ‘Address - Province/State’ in the e-Invoice payload.

SA

CountrySubentity

State or provinde where the store of the PoS is located. To be used as ‘Address - Province/State’ in the e-Invoice payload.

Western Province

City

City where the store of the PoS is located. To be used as ‘Address - City’ in the e-Invoice payload.

Jeddah

Building_No

The building number of the address where the store of the PoS is located. To be used as ‘Additional - Building number’ in the e-Invoice payload.

8

Postal_Code

Postal code of the location where the store of the PoS is located. To be used as ‘Address - Seller postal code’ in the e-Invoice payload.

23414

CitySubdivisionName

District of the location where the store of the PoS is located. To be used as ‘Address - District’ in the e-Invoice payload.

Ash Shate

PlotIdentification

The additional number of the address to identify the location. To be used as ‘Address - Additional number’ in the e-Invoice payload.

2211

CRN_Type

The type of other seller ID to which the PoS terminal belongs to. Possible values are CRN, MOM, MLS, etc.

CRN

CRN_Code

The value of the ‘Commercial registration number’ to be used during e-Invoice generation. This will be the value of ‘Other seller ID’ used in the payload of e-Invoicing.

1000000001

Step 2: Saving seller details

The above prepared details would be used while submitting the invoice to ZATCA. The information would be added to every invoice generated at the NCR Aloha Fiscal manager and submitted to ZATCA via the ClearTax e-Invoice application. To save the details in the ClearTax application execute the below command on the ‘Command Prompt’ of the PoS terminal:

java -jar ncr-aloha-app.jar  --operation SAVE_BRANCH_DETAILS --apiCode Agent-6510-02 --posCode POS-6510-02 --posName 2 --branchCode "1234-RBS Lab" --branchDescription 1234-Jeddah --branchTaxCode "1000000201" --branchAddress "King Abdul Aziz Rd Jeddah" --invCompanyCode 311555804900003 --countryCode SA --countrySubentity "Makkah Province" --city Jeddah --buildingNo 8888 --postalCode 23414 --citySubdivisionName  "Ash Shate" --plotIdentification 3243 --crnType CRN --crnCode 1000000001 --sellerName "TestUser"

After the successful execution of the above command the details would be saved in the ClearTax offline e-Invoice application and you will see the below message on your screen.

Step 3: Device registration with OTP

Use the following command to register the device using the OTP from the ZATCA Fatoora portal:

java -jar ncr-aloha-app.jar -env sandbox -operation CSR_PCSID -deviceId <device ID> -clearAuthToken <Authentication token> -vat <VAT registration number> -otp <OTP Fatoora portal>

The details to be used in the command are:

  • Device ID - Copy the device ID from the device settings page of web portal and enter it

  • Auth token - Fetch an active auth token from ‘Integrations’ → ‘API Clients’ and add it.

  • VAT number - VAT registration number of your business

  • OTP - Use a correct active OTP from ZATCA Fatoora portal as per the environment for device registration. OTP from the simulation environment should be used on sandbox and production should be used on production.

After executing the above command a device will be successfully registered with ZATCA. You will get a success message on the command prompt terminal once the operation is completed. The status of the device can also be checked on the 'Devices' page in settings section of ClearTax.

Once the device is active it will be used to sign all invoices generated at the PoS terminal of NCR Aloha.

PreviousDownloading and installing the offline e-Invoice applicationNextGenerating e-Invoices and printing

Last updated 4 months ago

Saving details on app