fix(minor): Update GSTR-1 json version (#27074)
This commit is contained in:
parent
7c957d72b3
commit
c30fb04e96
@ -588,7 +588,7 @@ def get_json(filters, report_name, data):
|
||||
|
||||
fp = "%02d%s" % (getdate(filters["to_date"]).month, getdate(filters["to_date"]).year)
|
||||
|
||||
gst_json = {"version": "GST2.2.9",
|
||||
gst_json = {"version": "GST3.0.4",
|
||||
"hash": "hash", "gstin": gstin, "fp": fp}
|
||||
|
||||
res = {}
|
||||
@ -765,7 +765,7 @@ def get_cdnr_reg_json(res, gstin):
|
||||
"ntty": invoice[0]["document_type"],
|
||||
"pos": "%02d" % int(invoice[0]["place_of_supply"].split('-')[0]),
|
||||
"rchrg": invoice[0]["reverse_charge"],
|
||||
"inv_type": get_invoice_type_for_cdnr(invoice[0])
|
||||
"inv_typ": get_invoice_type_for_cdnr(invoice[0])
|
||||
}
|
||||
|
||||
inv_item["itms"] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user