curl --location '/TenantTransaction/Financial/TaxVoucher/CustomsFees' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": 9,
"serialNo": "11111111-1111-1111-1111-111111111111",
"debitAccountId": 11020002,
"creditAccountId": 24030003,
"currencyId": "YER",
"amount": 125000000,
"note": "دفع رسوم جمركية على شحنة معدات صناعية من ألمانيا",
"customsType": "customs_duty",
"customsPeriod": "2024-12",
"customsAuthority": "الجمارك",
"declarationNo": "DEC-2024-1205",
"importExportNo": "CUS-2024-001",
"status": null,
"createdAt": null,
"creatorUserId": 9,
"creatorDeviceId": "e1b3b11d-70d0-5abd-8a45-ce85c27af0d4",
"documentReferences": [
{
"customsDeclaration": "DEC-2024-1205",
"invoice": "INV-DE-2024-001",
"techSpecs": null,
"inspectionReport": null,
"qualityCertificate": null,
"clearanceDeclaration": null,
"packingList": null,
"importDeclaration": null,
"vehicleRegistration": null,
"originCertificate": "OC-DE-001"
}
]
}'[
{
"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"
}
]