
GST reference number sequence group:
Goods and Services Tax (GST) transactions are differentiated by a unique number sequence. If a different number sequence is required for the address of each warehouse or legal entity, you can create a reference number sequence group. You can then assign the reference number sequence group to the addresses.
Navigation - Tax > Setup > Sales tax > India > GST reference number sequence group
Create State wise GST reference Number sequence group for different state based on addresses of legal entity and then created state wise number sequence for Bill of Supply (used for non-GST transaction) and GST Invoice (used for GST transaction for both AP and AR).
Finally map the Created state wise number sequence for BOS and GST invoice with respective GST reference number sequence group as per below SS.

Bill of Supply: The Bill of supply number sequence is used when customer sales that have non-GST/Exempt transactions are posted.
AP GST Invoice: The GST invoice number sequence is used when vendor purchases are posted that have GST transactions together with reverse charge transactions (RCM). Non-RCM case this series will not be used instead D365 Invoice number will be captured in that column on GSTR2 report.
AR GST Invoice: The GST invoice number sequence is used when customer sales that have GST transactions are posted.
Important Note for Number sequence in referring to different cases:
- If the tax rate is not zero, the sequence will be picked from the GST tax invoice reference ID.
- If the tax rate is zero (tax rate in every sales order line is zero, exempt, or non-GST), the sequence will be picked from the bill of supply.
- If an item is marked as “Exempted item”, irrespective of a tax rate the sequence will be picked from the bill of supply.
- If an item is marked as “Non-GST” supply, then another tax type is applied on the transaction and the number sequence will be picked from the bill of supply.
Mapping of GST reference number sequence group
Then map the created GST reference number sequence group to each addresses of the legal entity or warehouses respectively.
Application after invoice posting
This configured GST reference number sequence is to be reflected to GSTR report fetched from D365 F&SC as a Invoice Number as per below GSTR1 SS.
Bonus
1. For State wise and year wise "GST reference number sequence": In below format series can be configurred.
Below series creation is for only Accounts Receivable Source and on one AP source "GST Invoice" reference is used for RCM transaction as it is used to print on self-invoice print.
Note: Here, AR "Advance refund voucher" reference is used for SEZ invoices series as per the client requirement since this reference is not used by client so this used fro SEZ with small custom logic where SEZ toggle is this series is to be picked.
2. Self Invoice print genereated from D365 F&SC as standard report having "Invoice serial number" series picked from GST reference number sequence source "AP" reference "GST invoice". Accordingly this series is to be configurred as self invoice is reported to governement separately.
Thank You 😊
Happy Learning