Ticket Types
Deposit
USDT ticket (hash_ticket)
Creation
- Come from whatsapp as an incoming message.
- The incomming message considered as
hash_ticketif it's containing a hash.
TRC20
Entity: Sechelles
Account Number:3540244
Name: Chunhai Gu
Amount: 30,000
Hash:e516c79e1b9a7f7aca471404183f54e238f5ac54ddc10c5388ff6a6a30c9c731
Validation
This message subject to three checks:
- Missed value check: Fails if one of those attributes missed (entity, account number, name, amount).
- Duplication check: Fails if one of those attributes duplicated (hash, entity, account number, name, amount).
- Invalid hash check: Fails if the hash is invalid.
- Invalid amount check: Fails if the hash is valid but the amount passed in the message not match the amount of the transaction.
- Invalid entity check: Fails if the entity value not one of the
operating unit shortcuts.
Process
Approve
After pass all checks, the ticket will be routed to employees to process it based on routing system.

Four things to mention here:
- The ticket has not RF yet.
- Fields like (name, account number) can be edited.
- Confirm the field value at the end.
- After confirm all editable fields a new button will appear say "Approve & Send", click it to approve the ticket.
When approve the ticket, the approve handler specified for this type of tickets (hash_ticket) will run.
Approve handler of hash_ticket contain these steps:
- Send ticket to odoo and get an RF.
- Redirect it to custom chats with custom template based on
routing system. - Reply on the original hash message with a report like that
Apply
The ticket can be applied from the ticketing page by the employee.

Or by reply on the ticket report with the word applied

India ticket
- Come from whatsapp as an incoming message.
- The incomming message considered as
india_ticketif it's containing the highlighted line.
@ Vision : Recieved, Please Apply Below Bank Deposit
AM : MQ Ind
Odoo : No Info
Account - Sido test Diko/ W-5214452
Deposit : $ 941 / INR 80,000
XL Row 230/ Sr No 201
Entity : Jordan
Payment Type : VIP Bank (Standard)
Tickets created by form

Withdrawal
Tickets come from odoo
POST /accounting_backend/public/api/v1/odoo_tickets
{
"Request": "RF/498929",
"Client": "Rabab Ali Fahmi Abu Taweeleh",
"PhoneNumber": "False",
"mobile": "+20 102 442 4052",
"TradingNumber": "False",
"SugarClientID": "C00371991",
"amount": "500.00",
"DestinationCountry": "Pakistan",
"DestinationCity": "karashi",
"OperatingUnit": "Equiti Jordan",
"CommissionType": "Equiti Jordan",
"TransferDate": "2024-02-13 11:05:12",
"Currency": "USD",
"LocalCurrency": "PKR",
"LocalCurrencyAmount": "0.00",
"ArabicName": "False",
"comment": "False",
"address": "False",
"payment_type": "False",
"key_address": "False",
"vodafone_number": "01021066271"
}