Get the results of the client charges report
Body·
application/json
- Type: string | nullFormat: uuidclient
Partner Id The client partner to filter by
- Type: string | nullFormat: uuidcost
Centre Id The cost centre id to filter by
- Type: stringFormat: datedate
From The start date in the charge date range
- Type: stringFormat: datedate
To The end date in the charge date range
- Type: string | nullFormat: uuidrevenue
Account Id The revenue account id to filter by
- Type: integerenumtransaction
Type Integer numbers.
values- Adhoc
Charge = 0 - Freight
Charge = 1 - Storage
Charge = 2 - Activity
Charge = 3
Responses
- application/json
Request Example for post/v1/reports/client-charges
curl https://api.consignlyhq.com/v1/reports/client-charges \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"dateFrom": "date (YYYY-MM-DD)",
"dateTo": "date (YYYY-MM-DD)",
"clientPartnerId": null,
"transactionType": "enum (AdhocCharge = 0, FreightCharge = 1, StorageCharge = 2, ActivityCharge = 3)",
"costCentreId": null,
"revenueAccountId": null
}'
[
{
"clientName": null,
"clientCode": null,
"externalId": null,
"transactionDate": "date (YYYY-MM-DD)",
"scheduleStatus": "enum (Draft = 1, Approved = 2)",
"scheduleReference": null,
"transactionType": "enum (AdhocCharge = 0, FreightCharge = 1, StorageCharge = 2, ActivityCharge = 3)",
"activityName": null,
"activityCode": null,
"particulars": null,
"consignmentNumber": null,
"containerNumber": null,
"referenceNumber": null,
"consigneeName": null,
"revenueAccountCode": null,
"costCentreCode": null,
"taxRatePercent": 1,
"quantity": 1,
"chargeRateExclTax": 1,
"chargeApplication": "enum (Rate = 1, Fee = 2)",
"baseChargeExclTax": null,
"minChargeExclTax": null,
"maxChargeExclTax": null,
"amountExclTax": 1
}
]