@aakvatech
Hey thanks for prompt reply.
Here is print format screenshot of the code you sent.
This is what we have setup, based on your print format.
We have three tax heads CGST, SGST & IGST.
In the print format above of sales invoice two tax heads are applicable, CGST 6% & SGST 6% (These are applicable for inter-state, if supply would have been made intra-state then IGST would have been applicable @ 12%)
What I want, please find s.s below
Can you please help with this type of format.
aakvatech:
TD align=center> {% set mydict = json.loads(item.item_tax_rate) %} {% if item.item_tax_rate == “{}” %} {% for row in doc.taxes %} {{ row.get_formatted(“rate”,0) }}% {% endfor %} {% else %} {% set ns = namespace(vat=none) %} {% for key, value in mydict.items() %} {% set ns.vat = value %} {% endfor %} {{ ns.vat
You will have to use this part of the code in every tax column with its respected tax name. And using its percentage you can get the tax value. This will be a formula which will calculate the rate in the basis on item master tax table tax rate.
Hey.
Thanks for ur reply
I will try it out soon and get back to you.
Thanx
@fkardame
I tried it but it doesnt work.
can u pls help
Please share the Screenshot of the Item Tax table in Item form and of item tax details in sales invoice Item row.
Will try to help you with the script.
1 Like
@fkardame Hey Thanks for your prompt reply.
I am using Item tax template to call correct tax rate. I have set tax category in party master to In state / Out state. In item master I have created 6 item tax templates according to tax % in india for ex. In state 18% / out state 18%, In state 12% / Out State 12%.
Please see screenshot below.
Item Master Form
Item Tax Template
Item Tax Template
Customer Master Form
Also I tried other_charges_calculation field in my print format, its gives me this :-
I want this print format, it gives gst rate and amount row wise. Also a total column at the end will be good. Please see below
Looks like you’re using V12 and I am not familiar with V12 tax methods. Sorry about that, I thought you were on V11.
Maybe some else can help you with this.
Ok. Thanks for your reply
Can anybody please help overcome this issue in v12 ?
Can anybody resolve this issue please ?
Vikasg
March 20, 2020, 7:47am
27
Please confirm whether Tally Format available in ERPNext,
If yes, how to configure the same
Hi
Can someone help achieve this in V12 !!??
@aakvatech
Hey thanks for prompt reply.
Here is print format screenshot of the code you sent.
[image]
This is what we have setup, based on your print format.
[image]
We have three tax heads CGST, SGST & IGST.
In the print format above of sales invoice two tax heads are applicable, CGST 6% & SGST 6% (These are applicable for inter-state, if supply would have been made intra-state then IGST would have been applicable @ 12%)
What I want, please find s.s below
[image]
Can you please hel…
a1008
January 10, 2021, 12:36pm
30
i want to generate invoice click on custom button in custom doctype and custom button
so can u help me
Could you please give more details.
Welcome to the community. You can use custom script. You will need to use Javascript and you may find information https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/custom-scripts useful
Hi,
I did not get how to use this script to create a print format. Please describe how to create a print format using this script. Or if possible, please make a short video.
Regards
You don’t need a custom script to create print format. You need custom script to add additional functionalities on a custom or existing doc.
check out this video. You may get an idea
https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/print-format
See this to add the tally print format code into custom HTML field on Print Format
Hi, I got this error whenever I select the print format for printing:-
Server Error
Close Report
TypeError: ‘NoneType’ object is not callable
Is there anyone who can solve the issue?