Issue with report total

Hello everyone, I have problem with total in report
Please help me!

You need to show your report syntax.

Thank you for Support
And here is my report syntax

[Ticket Order Details:2,3,3,5,1,2,3,2]
>Ticket|User|Date|Item Name|Qty|Total|Type|Room
@{REPORT TICKET DETAILS:T.TicketNumber:(TCET=Table) or (TCET=Room) or (TCET=Delivery):|}
{REPORT PAYMENT DETAILS:T.TicketNumber,T.User,T.Date,'','','',P.Type,EN.Room:T.TicketNumber="$1"}
{REPORT ORDER DETAILS:'','','',O.MenuItemName,O.Quantity.sum,O.ExactTotal:T.TicketNumber="$1"}
>|||Total||{REPORT TICKET DETAILS:T.TotalAmount:T.TicketNumber=="$1"}

[Sales:1, 1]
{REPORT TICKET TYPES:!PreOrder && TotalAmount >= 0}

[Pre Orders:1, 1]
{REPORT TICKET TYPES:PreOrder && TotalAmount >= 0}

[Refunds:1, 1]

[Payments:2, 1, 2]
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:Payment.Amount > 0}
>Total|{REPORT PAYMENT DETAILS:P.Amount.Sum:Payment.Amount > 0}

Do you have any Ticket Calculation on this bill #1? Discount? Round? Service charge? Gifts? Voids?

Thank you so much for support
Now I solved it ready
I forgot to add (.sum) with O.ExactTotal