Skip to main content
GET
Get deduction
This endpoint retrieves detailed information about a specific deduction record by its unique identifier. Use this method to view all deduction details including amount, category, associated driver or truck, payment status, and creation metadata. Deductions are asset-specific financial adjustments and can be associated with either a driver or a truck, but not both simultaneously.

Request Parameters

The following parameters are required in the URL path or query:

Example CURL Request


Response Body Parameters

The following parameters are included in the response body:

Example Response


Versioning

The version parameter in the URL path specifies which version of the API you are using. Including the version number ensures that your integration remains stable as the API evolves. For more details, refer to the Versioning page.

Rate Limits

All endpoints are subject to standard rate limits to ensure consistent API performance. For details, see the Rate Limits section.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

id
string
required
version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Response

OK

Id
string
required
Type
string
required
GroupId
string
required
Description
string
required
Category
string
required
Amount
object
required
Date
string<date-time>
required
IsPaid
boolean
required
CreatedAt
string<date-time>
required
DriverId
string | null
TruckId
string | null
OwnerOperatorId
string | null
CreatedBy
string | null