Multirate GST Purchase Order

How do we have a PO with multiple GST rate Items
Item 1 28%
Item 2 18%
Item 3 12%

And then Total SGST and CGST in summary hsn code wise


You can check out the logic that I have used for Sales Invoice. See, if it is helpful for you…