1 Invoice checksum calculation. To uniquely identify each invoice a checksum is calculated at the invoice level. The logic for calculating checksum for invoice is given below. 1. Concatenate the attribute names and values for invoice headers into a checksum string. The attributes are to be arranged in the following order. - inum, idt, val, pos, rchrg, prs, od_num, od_dt, etin 2. Sort the item level details based on item number. 3. Append the item level attribute names and values to the checksum string. (Please find the code snippet at reference section) The item level attributes are to be arranged in the following order - num, item_det:ty, hsn_sc, txval, irt, iamt, crt, camt, srt, samt, csrt, csamt 4. The final checksum is found by calculating the SHA-256 hash of the checksum string. For e.g below shows sample concatenated string of an invoice with singe item details. inum=27686,idt=16-04-2016,val=142244.71,pos=01,rchrg=N,prs=N,etin=XYZ, itms:num=1,itm_det:ty=S,hsn_sc=S84,txval=247.25,irt=0.0,iamt=0.0,csrt= 0.2,csamt=15.0,itms:num=2,itm_det:ty=S,hsn_sc=S90, txval=500.25, irt=0.0,iamt=0.0,crt=4.48,camt=93.11,srt=2.01,samt=58.5 The SHA-256 of the above string will be the checksum of the invoice.

2 R1 Summary Checksum calculation. The checksum of GSTR1 summary payload is provided at different levels. -

Counter party wise checksum different sections of GSTR1 summary payload (if applicable) Section wise checksum for each sections of GSTR1 Summary payload. Complete GSTR1 Summary Payload Checksum.

2.1 Counter Party Wise Checksum For sections B2B, B2BA, CDN & CDNA of GSTR1, the counter party is the receiver GSTIN whereas B2CL/B2CLA the counter party is state code. The checksum calculation logic for counter party wise summary is given below. 1) Step 1: Fetch metadata all section invoices for a particular Supplier GSTIN – Receiver GSTIN relationship for the current return period. The list consists of supplier uploaded and auto populated invoices. The metadata contains the invoice number, invoice date, invoice checksum, provider and the action taken by the supplier. 2) For each counter party invoices are sorted in this order : a) Receiver provider invoices will take precedence over supplier provided invoices. b) The invoices in each provider group are sorted by financial year in ascending order. c) The invoices with same provider and financial year are sorted by invoice number in ascending order. 3) Concatenate the checksum of sorted invoices and supplier action into a string.. Only for section B2B,B2BA, CDN & CDNA where receiver GSTN is the counter party, the invoice action is included in

the checksum. For other sections like B2CL/B2CLA, the action will not be part of checksum. The valid acronyms of supplier action are given below. Supplier Action Acronym Accepted A Rejected R Modified M Keep Pending P e.g. Concatenated String of counter party checksum = chksum(invoice1)+A+checksum(invoice2)+R 4) Calculate the SHA256 hash of the concatenated checksum string and use this as the counter party wise checksum.

2.2 Section Wise Checksum if counter party summary is applicable For the sections such as B2B/B2BA/CDN/CDNA/B2CL/B2CLA, the summary checksum will be created based on the counter party checksum. The steps for calculating checksum is given below. 1. For the particular section, fetch all counter parties. If there is no counter party available, list will be empty. 2. Counter Party list is sorted in the alphabetical order. 3. Combine the checksum of all counter parties in the sorted order. 4. Calculate the SHA256 hash of the concatenated checksum string and use this as the counter party wise checksum.

2.3 Section Wise Checksum if counter party summary is not applicable For the sections such as EXP/EXPA/TXPD/AT/ATA/B2CS/B2CSA/HSN/NIL, the counter party summary is not calculated. The steps for calculating checksum for these sections is given below. 1. Fetch all records of each sections. 2. For EXP/EXPA/TXPD sort the records based on invoice number. Invoices are first sorted based on the financial year and then the invoice number in alphabetical order. Concatenate checksum of the sorted invoices and take SHA-256 hash of the concatenated string. 3. For AT/ATA, sort the records based on the document number. Documents are first sorted based on the financial year and then the document number in alphabetical order.If a document contains multiple item details, the item data are sorted with HSN codes. Concatenate checksum of the sorted documents and take SHA-256 hash of the concatenated string. 4. For B2CS/B2CSA records, the following steps are done for calculating checksum a. Group B2CS records with state code as the primary key. b. For each state code, sort B2CS records according to the hsn code. c. In case of B2CS records, the sorting is done based on the Month (tax period) and HSN codes. d. For each state code, concatenate checksum of the sorted records and take SHA-256 hash of it. e. Sort state code level checksums according to the state code in lexicographical order. f. Concatenate checksum of each state code and take SHA-256 Hash of it.

5. For HSN Summary, the records are sorted with serial number. The sorted records are concatenated and SHA-256 hash is calculated for checksum. 6. For NIL Summary records, the records are grouped based on the type (goods/services) and then based on the supply type (INTRB2B/ INTRB2C/ INTRAB2B/ INTRAB2C). The sorted records are concatenated and SHA-256 hash is calculated for checksum.

2.4 GSTR1 Summary payload checksum The GSTR1 summary payload checksum is the combined checksum of all sections. The checksum is calculated based on the following process 1) Sections are sorted in the following order: a) B2B b) B2BA c) B2CL d) B2CLA e) B2CS f) B2CSA g) CDN h) CDNA i) EXP j) EXPA k) AT l) ATA m) TXPD n) HSN o) NIL 2) For each of the section from the sorted list fetch the section level checksum and concatenate them in to a string 3) SHA-256 hash of the string is the summary checksum

1 Invoice checksum calculation. 2 R1 Summary ... -

For sections B2B, B2BA, CDN & CDNA of GSTR1, the counter party is the receiver GSTIN whereas. B2CL/B2CLA the counter party is state code. The checksum ...

562KB Sizes 41 Downloads 238 Views

Recommend Documents

New Invoice Summary Page and Updated Billing Summary ...
New Invoice Summary Page and Updated Billing Summary Page for Monthly Invoiced AdWords Customers. We listened to feedback from our monthly invoiced ...

New Invoice Summary Page and Updated Billing Summary ...
1) Log into your AdWords account at https://adwords.google.com.au. 2) Click ... http://adwords.google.com/support/bin/answer.py?answer=117601&hl=en_AU.

New Invoice Summary Page and Updated Billing Summary ...
You can find contact info on your invoice or in the Help Centre: http://adwords.google.com/support/bin/answer.py?answer=117601&hl=en_GB. Use our Help ...

New Invoice Summary “Amount due”
Who to contact ... Contact info can be found on your invoice or in the Help Center: ... the changes made and steps on how to access various features. • Download ...

New Invoice Summary “Amount due”
http://adwords.google.com/support/bin/answer.py?answer=117601&hl=en_AU ... If you can't find the answer to your question, click the “Contacting Support” link ...

R1 (2).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. R1 (2).pdf.

Module 2 Summary 1 Running Head: MODULE 2 ...
change. By resisting today's ICT methods such as cell phones, Myspace, and Wikipedia, schools ... The only way to move forward effectively is to ... economic and business literacy; civic literacy; learning and thinking skills; creating the passion.

R1 (1).pdf
6 117 CALENTIER Romain NOR VTT Vallée de Seine 104/97/104/0/0/104/0 409 ... Imprimé le 17/10/2016 06:09:41. Page 1 of 1. R1 (1).pdf. R1 (1).pdf. Open.

MP1907-20-r1-2-stnnto.pdf
Telecom half bridge power supplies. • Avionics DC-DC converters. • Active-clamp Forward Converters. All MPS parts are lead-free and adhere to the RoHS ...

1 Summary - Sites
Nov 13, 2007 - The important features of system software are. 3 ... The overall performance (computation and communication) is normally ana- lyzed through.

1 Craig Napolitano Anthrax Summary March 2, 2006 ...
receptor-mediated, clathrin-dependent, endocytosis into an acidic vesicle. ... LF, containing an amino acid change from glutamate 687 → cysteine 687, was ...

Part 2: Executive summary 1. What is your ... -
Anupam Bhatnagar – fmcg & auto logistics service professional. • Deep Goel – design & production engineering and manufacturing specialist. • Vivek Pai ...

invoice - Groups
Jun 10, 2015 - 7. BENGARDI MAHARAKA PUTRA. 620-7196 353 0R2. PREMIUM RLD. 83.00. 8. REIHANDRA MUHAMMAD TEIGHAN. 620-7196 354 0R2.

Calculation Policy 2014 AET Mathematics (1) (1).pdf
... calculation policy has been devised to support academies in understanding both the expectations for fluency of the. 2014 curriculum and the progression of calculation concepts through a child's mathematical development. Principles. • This calcu

1. Publishable summary
consortium to decide on the courses to be developed within the programme. Importantly, the ARCADE RDSH partners have agreed upon Creative Commons copyright policy, which will enable open access to ARCADE courses. In addition to the above, the tools t

Invoice 21513
[email protected]. Invoice Date. November 9, 2016 ... PRICE. Ultimate Addons for Beaver Builder - 1 Year License. $69.00. Invoice Totals. Subtotal. $69.00.

Invoice Template -
Sep 26, 2014 - Make all checks payable to. WCCC. INVOICE. DESCRIPTION. Bib Numbers: 6 @ $5/pair. Invoice Template © 2013-2014 Vertex42.com.

Sales invoice -
COMMENTS OR SPECIAL INSTRUCTIONS: Please make checks payable to UCSD Cycling Team. If you have any questions concerning this invoice, contact ...

Invoice Interface
Sage Line 500 / Sage 1000 Accounts Payable. Invoice Interface. Recognising that Line 500 Accounts Payable can be used to process non. Line 500 purchase transactions, Vection have created a fully automated. XML interface file program. The XML file tem

Invoice -
6 days ago - Green T's with two color front logo and one color back logo. 9.40. 940.00T. YS- 3. YM - 7 ... AXL - 15. A2XL - 3. 3 2XL- Upcharge. 2.00. 6.00T.

8.1.1 Consultant Invoice created 082615 (1).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. 8.1.1 Consultant ...

JBAA-R1 MSD Bullying Report 2.pdf
JBAA-R1 MSD Bullying Report 2.pdf. JBAA-R1 MSD Bullying Report 2.pdf. Open. Extract. Open with. Sign In. Details. Comments. General Info. Type. Dimensions. Size. Duration. Location. Modified. Created. Opened by me. Sharing. Description. Download Perm

Equity - Executive Summary Mar 1 (1) (1).pdf
Page 1 of 2. PROGRAM INFORMATION. Minnesota Achievement and Integration program: The purpose of the Achievement and Integration for. Minnesota program is to (1) pursue racial and economic. integration, (2) increase student achievement, (3). create eq

Invoice {INVOICE_NUMBER} - GitHub
Bank Account Number: {COMPANY_BANK_ACCOUNT_NUMBER}. Notes: - {PAYMENT_INSTRUCTIONS}. - Invoice is valid without stamp and signiture.