diff --git a/india_compliance/gst_india/report/gstr_3b_details/gstr_3b_details.py b/india_compliance/gst_india/report/gstr_3b_details/gstr_3b_details.py index 38ef38f98..dfa37083c 100644 --- a/india_compliance/gst_india/report/gstr_3b_details/gstr_3b_details.py +++ b/india_compliance/gst_india/report/gstr_3b_details/gstr_3b_details.py @@ -288,10 +288,14 @@ def get_data(self): for invoice in invoices: place_of_supply = cint(invoice.place_of_supply[0:2]) or state + nature_of_supply = "" + if invoice.gst_category == "Registered Composition": supplier_state = cint(invoice.supplier_gstin[0:2]) else: - cint(address_state_map.get(invoice.supplier_address)) or state + supplier_state = ( + cint(address_state_map.get(invoice.supplier_address)) or state + ) intra, inter = 0, 0 base_amount = invoice.base_amount