Please check our demo
OUR ERP/POS SOFTWARE Have the total E Invoice solution for your Business , According to ZATCA GUIDE LINE , Which is covered Phase 1 and phase 2 ( Integration Part)
Please Request for demo info@citssoft.comPlease visit the software : https://hgreservation.com/pos/public/home
And Our E-Invoice solution support with any kind of software to make your Business easy with ZATCA Compilation .
Our Best CITSSOFT E-Invoicing Solution
Welcome to CITSSOFT E-Invoicing Solution - A ZATCA compliant e-invoicing solution that will make your business comply with the ZATCA electronic invoicing rules and regulations of Phase-I and Phase-II
Let Start with us
To get started, please create an account in CITSSOFT E-Invoicing platform .
1. Create an Account with following fields:
- Name
- Password
- Confirm Password
2. Generate an API key
Go to the API section and click Generate API Key
# API Documentation
Base URL: https://einvoicing.citssoft.com/api
## Onboarding API:
URL: /integration/onboard
Required fields:
- legal_registration_name: Business name as per registered in government
- vat : 15 digit VAT number of business
- crn : Commercial registration number of business
- industry : A small description of type of industry or shsop
- location : Address or website in single line
- otp : 6 digit OTP number obtained from ZATCA ERAD Portal
Sample CURL:
curl -X POST https://einvoicing.citssoft.com/api/integration/onboard \
-h 'Authorization:' \
-h 'Content-Type: application/json' \
-d '{
"legal_registration_name": "CITSSOFT",
"vat": "312345678900003",
"crn": "123456789",
"industry": "Shop",
"location": "citssoft.com",
"otp": 575757
}'
Sample Output:
{
"comp_bin_sec_token": "TUlJQ0lqQ0NBY2lnQXdJQkFnSUdBWVIxaHU2N01Bb0dDQ3FHU000OUJBTUNNQlV4RXpBUkJnTlZCQU1NQ21WSmJuWnZhV05wYm1jd0hoY05Nakl4TVRFME1EazBORFF6V2hjTk1qY3hNVEV6TWpFd01EQXdXakJpTVFzd0NRWURWUVFHRXdKVFFURVRNQkVHQTFVRUN3d0tkR1Z5YldsdVlXd3RPVEVSTUE4R0ExVUVDZ3dJUTBsVVUxTlBSbFF4S3pBcEJnTlZCQU1NSWtOSlZGTlRUMFpVTFRFeU16UTFOamM0T1Mwek1USXpORFUyTnpnNU1EQXdNRE13VmpBUUJnY3Foa2pPUFFJQkJ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Z292LmxvY2FsX1RTWkVJTlZPSUNFLVN1YkNBLTEoMSkuY3J0MCsGCCsGAQUFBzABhh9odHRwOi8vdHN0Y3JsLnphdGNhLmdvdi5zYS9vY3NwMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwMwJwYJKwYBBAGCNxUKBBowGDAKBggrBgEFBQcDAjAKBggrBgEFBQcDAzAKBggqhkjOPQQDAgNJADBGAiEAyNhycQ3bNlLFdOPlqYT6RVQTWgnK1Gh0NHdcSY4PfC0CIQCSAthXvv7tetUL69Wjp8BxnLLMwerxZhBnewo/gF3EJA==",
"prod_secret": "f9YRhopN/G7x0TECOY6nKSCHLNYlb5riAHSFPICo4qw=",
"prod_request_id": 30368
}
## Invoice API:
URL: /invoice/simplifiedInvoice - for simplified invoice (b2c)
URL: /invoice/simplifiedCredit - for simplified credit note (b2c)
URL: /invoice/simplifiedDebit - for simplified debit note (b2c)
URL: /invoice/standardInvoice - for standard invoice (b2b)
URL: /invoice/standardCredit - for standard credit note (b2b)
URL: /invoice/standardDebit - for standard debit note (b2b)
Sample CURL:
curl -X POST https://einvoicing.citssoft.com/api/invoice/simplifiedInvoice \
-h 'Authorization:' \
-h 'Content-Type: application/json' \
-d '{
"prod_cert": "MIID2zCCA4CgAwIBAgITbwAAdqDmIhqsjpm5CwABAAB2oDAKBggqhkjOPQQDAjBjMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRwwGgYDVQQDExNUU1pFSU5WT0lDRS1TdWJDQS0xMB4XDTIyMDMyODE1NDYzMloXDTIyMDMzMDE1NDYzMlowTTELMAkGA1UEBhMCU0ExDjAMBgNVBAoTBUphcmlyMRowGAYDVQQLExFKZWRkYWggQnJhbmNoMTIzNDESMBAGA1UEAxMJMTI3LjAuMC4xMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAED/wb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s26nIUfPg+OvSy9w2gc0SMLapXZt68+jg=",
"supplier": {
"legal_registration_name": "CITSSOFT",
"vat_no": "312345678900003",
"crn": "123456789",
"postal_address": {
"country": "SA",
"state": "Makkah",
"district": "District",
"city": "Makkah",
"street": "Street 123",
"plot": "4321",
"building": "1234",
"zip": "12101"
}
},
"payment_means": ["cash"],
"items": [
{
"name": "ALBAIK Broast",
"unit": "piece",
"unit_price": 30.00,
"tax_category": "standard_rate",
"tax_percent": 15,
"base_quantity": 1,
"quantity": 2,
"per_unit_discount": 0,
"all_unit_discount": 0
},
{
"name": "ALBAIK Chicken Sandwitch",
"unit": "piece",
"unit_price": 10.00,
"tax_category": "standard_rate",
"tax_percent": 15,
"base_quantity": 1,
"quantity": 5,
"per_unit_discount": 0,
"all_unit_discount": 0
},
],
"overall_discount": 0
}'
Note: For standardInvoice, standardCredit and standardDebit, the following fields are also required:
- delivery_date_time : The date and time of actual delivery of supply
- customer : (customer fields)
- legal_registration_name: customer party legal registred name in VAT
- vat_no : 15 digit VAT number of customer
- crn : commercial registration number of customer
- email : email address of customer, for sharing einvoice by email
- postal_address : (customer address fields)
- country
- state
- district
- city
- street
- plot
- building
- zip
Note: For simplifiedCredit, simplifiedDebit, standardCredit, and standardDebit, the following fields are also required
- cr_dr_reason : A textual reason for the credit or debit note, e.g "Bad items returned", "Items are added"
- cr_dr_invoice_ref_no: The original invoice number as the reference / parent invoice for this credit / debit note