curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/revenue/revenue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"revenue": {
"amount": 50.01,
"bankAccountId": 123,
"id": 123,
"reviewStatus": "PARTNER_REVIEW_REQUIRED",
"userAccess": "NONE",
"accountantAccess": "NONE",
"type": "BUSINESS",
"date": "2022-01-04T10:20:00Z",
"state": "UNKNOWN",
"salesTaxAmount": 1.01,
"description": "Gas purchase",
"businessId": 123,
"clientId": 123,
"clientName": "<string>",
"apiPaymentId": "<string>",
"bankTransferId": 123,
"currencyType": "USD",
"revenueAccountId": 123,
"customData": {},
"v6EntityId": "<string>",
"apiOrderId": "<string>",
"expenseId": 123,
"taxPaymentId": 123
}
}
'