Skip to main content
POST
/
v5
/
taxEngineExpress
/
pdfT2125
Generate T2125
curl --request POST \
  --url https://sandbox.hurdlr.com/rest/v5/taxEngineExpress/pdfT2125 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '
{
  "client_id": "fake_client_id",
  "userId": "fake_userId",
  "year": 2018,
  "businessType": "REAL_ESTATE_AGENT",
  "income": [
    {
      "amount": 10000.01,
      "date": "2023-12-25",
      "salesTax": 100.01
    }
  ],
  "expenses": [
    {
      "vendorName": "Acme",
      "categoryId": "13005023",
      "id": "1",
      "amount": 100.02,
      "hurdlrTaxCategory": "DEDUCTIBLE_MEALS_AND_ENTERTAINMENT",
      "lineNumber": "<string>"
    }
  ],
  "identificationSection": {
    "name": "Henry Earnshaw",
    "businessName": "Achme",
    "businessNumber": "xxxxxxxxxxxxxxx",
    "businessAddress": "4892 MacLaren Street",
    "city": "Ottawa",
    "province": "ON",
    "postalCode": "K1P5M7",
    "fiscalPeriodFrom": "20180101",
    "fiscalPeriodTo": "20180430",
    "mainProductOrService": "Achme",
    "industryCode": "xxxxxx"
  },
  "t2125BusinessOrProfessionalIncomeField": {
    "line8000": 123,
    "line8290": 123,
    "line8230": 123,
    "line3P": 123,
    "line8299": 123
  },
  "t2125COGSField": {
    "line17": 150000,
    "line8300": 0,
    "line8320": 0,
    "line8340": 0,
    "line8360": 0,
    "line8450": 0,
    "line18": 0,
    "line8500": 0,
    "line8518": 0,
    "line19": 0,
    "line8519": 150000
  },
  "t2125CCOGSField": {
    "line17": 150000,
    "line8300": 0,
    "line8320": 0,
    "line8340": 0,
    "line8360": 0,
    "line8450": 0,
    "line18": 0,
    "line8500": 0,
    "line8518": 0,
    "line19": 0,
    "line8519": 150000
  }
}
'
{
  "url": "https://s3.amazonaws.com/Tight-Dev/Reports/Temp/c2cd0cf0-bd33-4fe7-844f-9e90df7575ec/ScheduleC_2018.pdf",
  "status": "SUCCESS"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tight.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

*/*

tax calculation parameters

client_id
string
required

The client_id of the Tight Partner

Example:

"fake_client_id"

userId
string
required

An anonymized userId, used for tracking API usage. The Tight Partner decides how to anonymize it.

Example:

"fake_userId"

year
integer<int32>
required

The T2125 form year

Example:

2018

businessType
enum<string>
required

The business type of the user

Available options:
DRIVER,
REAL_ESTATE_AGENT,
CONSULTANT,
SALES,
FREELANCER,
HOST,
E_COMMERCE,
INSURANCE_AGENT,
RETAIL,
OTHER
Example:

"REAL_ESTATE_AGENT"

income
object[]
required

Income transaction array

expenses
object[]
required

Expense transaction array

identificationSection
object
t2125BusinessOrProfessionalIncomeField
object
t2125COGSField
object
t2125CCOGSField
object

Response

200 - application/json

Successful operation

url
string

URL link location

Example:

"https://s3.amazonaws.com/Tight-Dev/Reports/Temp/c2cd0cf0-bd33-4fe7-844f-9e90df7575ec/ScheduleC_2018.pdf"

status
enum<string>

Status of the link

Available options:
SUCCESS,
NO_DATA
Example:

"SUCCESS"