curl --location '/TenantTransaction/Financial/TaxVoucher/GovernmentFees' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": 9,
"serialNo": "11111111-1111-1111-1111-111111111111",
"debitAccountId": 11010001,
"creditAccountId": 57030004,
"currencyId": "YER",
"amount": 125000000,
"note": "دفع رسوم تجديد الرخصة التجارية للعام 2025",
"feeType": "license_renewal",
"feePeriod": "2025",
"governmentEntity": "وزارة التجارة والصناعة",
"referenceNo": "LIC-2024-001",
"status": null,
"createdAt": null,
"creatorUserId": 9,
"creatorDeviceId": "e1b3b11d-70d0-5abd-8a45-ce85c27af0d4",
"documentReferences": [
{
"type": 137,
"otherType": null,
"reference": "LR-2025-001",
"url": null,
"description": null
},
{
"type": 138,
"otherType": null,
"reference": "CL-2024-001",
"url": null,
"description": null
}
]
}'[
{
"tenantId": 0,
"serviceId": 0,
"id": 0,
"serialNo": "8fe20539-3963-42bc-bcbe-d270b89c0cea",
"currencyId": "string",
"amount": 0,
"toCurrencyId": "string",
"toAmount": 0,
"description": null,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z",
"TenantTransactionTransfers": [
{
"rowNo": 0,
"tenantId": 0,
"serviceId": 0,
"transactionId": 0,
"id": 0,
"accountId": 0,
"currencyId": "string",
"amount": 0,
"description": null,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"TenantBalances": [
{
"rowNo": 0,
"tenantId": 0,
"accountId": 0,
"currencyId": "string",
"amount": 0,
"ceilAmount": 0,
"upId": 0,
"typeId": 0,
"groupId": 0,
"isMain": true,
"isAutomatic": true,
"relatedUserId": 0,
"description": null,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"TenantTransactionProducts": [
{
"rowNo": 0,
"tenantId": 0,
"serviceId": 0,
"transactionId": 0,
"productId": 0,
"measureUnitId": 0,
"currencyId": "string",
"storeId": 0,
"productionAt": "2019-08-24",
"expiryAt": "2019-08-24",
"price": 0,
"costPrice": 0,
"quantity": 0,
"description": null,
"status": 0,
"isFree": true,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"TenantRequest": [
{
"rowNo": 0,
"askTenantId": 0,
"responseTenantId": 0,
"serviceId": 0,
"id": 0,
"serialNo": "8fe20539-3963-42bc-bcbe-d270b89c0cea",
"description": null,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"TenantLogs": [
{
"rowNo": 0,
"tenantId": 0,
"id": 0,
"description": null,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z"
}
],
"TenantProductStorages": [
{
"rowNo": 0,
"tenantId": 0,
"productId": 0,
"measureUnitId": 0,
"barcode": "string",
"currencyId": "str",
"storeId": 0,
"productionAt": "2019-08-24",
"expiryAt": "2019-08-24",
"costPrice": 0,
"quantity": 0,
"status": 0,
"creatorUserId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatorUserId": 0,
"updatedAt": "2019-08-24T14:15:22.123Z",
"description": null
}
],
"deviceId": "4de4adb9-21ee-47e3-aeb4-8cf8ed6c109a"
}
]