{{if eq .IsAcceptDebitCreditCards "true"}}
{{end}}
{{if ne .PaypalEmail ""}}
{{end}}
{{.Label_Subtotal}}
{{.SubtotalAmount}}
{{.MultiSubtotalAmount}}
{{if eq .Table_name "estimation"}}
{{if eq .DiscountOption "discount_on_subtotal"}}
{{.Label_Discount}}
{{.Discount}}
{{end}}
{{end}}
{{if eq .Table_name "invoice"}}
{{if eq .DiscountOption "discount_on_subtotal"}}
{{.Label_Discount}}
{{.Discount}}
{{end}}
{{end}}
{{range .Company_taxes_json}}
{{.Inclusive}} {{.LabelKey}}{{if ne .LabelValue ""}} ({{.LabelValue}}%){{end}}
{{.TaxAmount}}
{{.MultiTaxAmount}}
{{end}}
{{if eq .Table_name "estimation"}}
{{if eq .IsDisplayShippingFields "true"}}
{{.Label_Shipping}}
{{.ShippingAmount}}
{{end}}
{{end}}
{{if eq .Table_name "invoice"}}
{{if eq .IsDisplayShippingFields "true"}}
{{.Label_Shipping}}
{{.ShippingAmount}}
{{end}}
{{.Label_Total}}
{{.TotalAmount}}
{{.MultiTotalAmount}}
{{if eq .WithholdingEnable "true"}}
{{.WithholdingAbbreviation}} ({{.WithholdingRate}}%)
{{.WithholdingAmount}}
{{end}}
{{.Label_Paid}}
{{.PaidAmount}}
{{.MultiPaidAmount}}
{{end}}
{{if eq .Table_name "invoice"}}
{{.Label_Balance_due}}
{{.BalanceDueAmount}}
{{if ne .MultiBalanceDueAmount ""}}
{{.MultiBalanceDueAmount}}
{{end}}
{{end}}
{{if ne .Table_name "invoice"}}
{{.Label_Total}}
{{.TotalAmount}}
{{.MultiTotalAmount}}
{{end}}