Skip to Content
BookkeepingCreating Reports

Mileage Deduction Report

Overview

The Mileage Deduction Report totals the business and personal distance a Business drove in a period, and the deduction it can claim for the business trips. It is built from the Business' trips.

Each business trip has an amount, worked out from the distance and the mileage rate in force on the trip's date. Personal trips have no deduction.

CountryHow the deduction is calculated
United StatesA single flat rate for each unit of distance, set for the date of the trip.
CanadaTiered rates. The first part of the year's distance is paid at one rate and the rest at a second one, so a trip's amount depends on the distance already driven that year. Trips in the northern territories use a higher set of rates.

Each trip keeps the reason for its amount, in amount_reason, such as which rates were applied.

How to Generate a Mileage Deduction Report

Call Retrieve the Mileage Deduction Report (GET /v0/business/{business_id}/reports/mileage) with:

ParameterDescription
start_dateRequired. The first day of the period, inclusive, as YYYY-MM-DD.
end_dateRequired. The last day of the period, inclusive, as YYYY-MM-DD.
vehicle_idOptional. Limit the report to one vehicle.
curl --request GET \
  --url "https://api.sandbox.getasset.com/v0/business/biz_GA6EG2qFxA97NZHtxeLPUy/reports/mileage?start_date=2026-01-01&end_date=2026-12-31" \
  --header 'Authorization: Bearer <token>'

The report needs the report:read scope. Unlike most reports, its dates are plain dates and the end date is inclusive.

What the report returns

The response is a list with a single line for the whole period:

FieldDescription
periodall.
total_amountThe total deduction for the business trips.
total_business_distanceThe distance driven on business trips.
total_personal_distanceThe distance driven on personal trips.
distance_unitmiles or kilometers, taken from the trips. A period with no trips reports miles.

Mileage Report Best Practices

  • Export the trips. Send an Accept header of application/vnd.openxmlformats-officedocument.spreadsheetml.sheet to receive a spreadsheet. It adds the list of trips behind the totals, with each trip's date, vehicle, distance, purpose, amount, the reason for the amount, the addresses and any notes. This is what a Business keeps for its records.
  • Report one tax year at a time for a Canadian Business, because the rates depend on the distance driven since the start of the year.
  • Filter by vehicle to see how much each one contributes.
Questions? Reach out via our Contact form.

On this page