BillToGstin should not be same as LocationGstin when SupplyType is 'S'
This error will receive when BillFromGstin has been mentioned same as location Gstin when supply type is 'S'
For that you need to check Location Gstin and BillToGstin should not be same when supply type is of Sales.
While creating sales document the Location Gstin should be same as BillFromGstin and not BilltoGstin.