curl --location '/TenantTransaction/Financial/OutcomeVoucher/Check' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": 9,
"serialNo": "11111111-1111-1111-1111-111111111111",
"debitAccountId": 2301,
"creditAccountId": 11020003,
"currencyId": "YER",
"amount": 22500000,
"note": "إصدار شيك رقم 45821 للمورد الذهبي",
"status": null,
"createdAt": null,
"creatorUserId": 9,
"creatorDeviceId": "e1b3b11d-70d0-5abd-8a45-ce85c27af0d4",
"documentReferences": [
{
"type": 60,
"otherType": null,
"reference": "CHK-45821",
"url": null,
"description": "أصل الشيك"
},
{
"type": 61,
"otherType": null,
"reference": "STUB-45821",
"url": null,
"description": "كعب الشيك"
},
{
"type": 14,
"otherType": null,
"reference": "INV-2025-375",
"url": null,
"description": "فاتورة المورد"
},
{
"type": 85,
"otherType": null,
"reference": "ID-SUPPLIER-001",
"url": null,
"description": "هوية المستلم"
}
]
}'[
{
"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"
}
]