invoice:
Array
(
    [party_id] => 254
    [ledger_id] => 165
    [invoice_number] => 6322
    [invoice_date] => 2024-09-12
    [fin_year] => 2024-2025
    [po_number] => 
    [billing_address] => 123 JTM Mall
    [billing_state] => Rajasthan
    [billing_phone] => 8372653625
    [party_gstn] => 08HWJWCWWRW74
    [shipping_address] => 123 JTM Mall
    [shipping_state] => Rajasthan
    [shipping_phone] => 8372653625
    [eway_bill] => 362532
    [vehicle_number] => RJ14CB732
    [notes] => this is temp invoice
    [sub_total] => 72615.00
    [shipping_cost] => 250.00
    [grand_total] => 3726.00
    [invoice_items] => Array
        (
            [0] => Array
                (
                    [item_id] => 862
                    [quantity] => 25
                    [unit_id] => 4
                    [unit_name] => Kg
                    [price] => 120.00
                    [price_tax_type] => Including Tax
                    [discount] => 350
                    [discount_type] => fixed
                    [sub_total] => 32410
                    [tax] => 12
                    [tax_type] => GST
                    [tax_amount] => 3625.6
                    [total_amount] => 82625.6
                )

            [1] => Array
                (
                    [item_id] => 862
                    [quantity] => 25
                    [unit_id] => 4
                    [unit_name] => Kg
                    [price] => 120.00
                    [price_tax_type] => Including Tax
                    [discount] => 350
                    [discount_type] => fixed
                    [sub_total] => 32410
                    [tax] => 12
                    [tax_type] => GST
                    [tax_amount] => 3625.6
                    [total_amount] => 82625.6
                )

        )

)
{"party_id":254,"ledger_id":165,"invoice_number":"6322","invoice_date":"2024-09-12","fin_year":"2024-2025","po_number":"","billing_address":"123 JTM Mall","billing_state":"Rajasthan","billing_phone":"8372653625","party_gstn":"08HWJWCWWRW74","shipping_address":"123 JTM Mall","shipping_state":"Rajasthan","shipping_phone":"8372653625","eway_bill":"362532","vehicle_number":"RJ14CB732","notes":"this is temp invoice","sub_total":"72615.00","shipping_cost":"250.00","grand_total":"3726.00","invoice_items":[{"item_id":862,"quantity":25,"unit_id":4,"unit_name":"Kg","price":"120.00","price_tax_type":"Including Tax","discount":350,"discount_type":"fixed","sub_total":32410,"tax":12,"tax_type":"GST","tax_amount":3625.6,"total_amount":82625.6},{"item_id":862,"quantity":25,"unit_id":4,"unit_name":"Kg","price":"120.00","price_tax_type":"Including Tax","discount":350,"discount_type":"fixed","sub_total":32410,"tax":12,"tax_type":"GST","tax_amount":3625.6,"total_amount":82625.6}]}