Overview

The Tax API provides recipients with access to the following documents for consumer-permissioned accounts:

  • Tax document images in PDF format
  • Detailed tax data in JSON format

The API supports multiple tax form types including:

  • 1099-DIV
  • 1099-INT
  • W-2
  • 1042-S

Security

The Tax API requires authentication using a bearer token (id_token assigned to the permissioned user). The id_token should be included in the Authorization header of each request.

For more information on ID tokens, please see the Token API documentation.

Base URL

Like all Akoya APIs, Tax operates in both sandbox and prod:

  • Sandbox: https://sandbox-products.ddp.akoya.com
  • Production: https://products.ddp.akoya.com

Endpoints

Search tax forms

GET /tax-forms/{version}/{providerId}/{accountId}

Retrieves a list of tax documents and available tax form images for a specific year.

Path params

ParamDescription
{version}Major API version (e.g. v2)
{providerId}ID for the financial institution providing the data
{accountId}The consumer’s unique account identifier (not the account number)

Query params

ParamTypeRequiredDescription
taxYearStringYesTax year to search for (e.g. 2024)
taxFormsArrayNoSpecific tax form (e.g. Tax1099Int)
taxDataTypeStringNoFormat for tax form data (JSON or Base64_PDF)
resultTypeStringNoSpecifies response type

Example response

A list of tax statements matching the search criteria

📘

Data elements shown are not exhaustive

This is an example. See the chart below for a complete list of supported data elements.

{
  "statements": [
    {
      "taxYear": 2024,
      "taxStatementId": "9876987698769876",
      "attributes": [
        { "name": "federalTaxWithheld", "value": "4014.00" }
      ],
      "taxDataType": "JSON",
      "forms": [
        {
          "tax1099Div": {
            "taxYear": 2024,
            "taxFormId": "9876987698769876",
            "taxFormDate": "2024-03-30",
            "taxFormType": "Tax1099Div"
          }
        }
      ]
    }
  ]
}

Retrieve a specific tax form

GET /tax-forms/{version}/{providerId}/{taxFormId}

Fetches a specific tax form's data and image.

Path params

ParamDescription
{version}API major version (e.g. v2)
{providerId}ID for the financial institution providing the data
{taxFormId}taxFormId(e.g. 9876987698769876)

Query params

ParamTypeRequiredDescription
taxDataTypeStringNoFormat for tax form data (JSON or BASE64_PDF)

Example response

  • Returns tax form data in JSON format.
  • If requested, returns tax form images as PDF

📘

Data elements shown are not exhaustive

This is an example. See the chart below for a complete list of supported data elements.

{
  "taxYear": 2024,
  "taxStatementId": "1234123412341234",
  "attributes": [
    { "name": "Total tax withheld", "value": "8025.00" }
  ],
  "issuer": {
    "tin": "12-3456789",
    "partyType": "BUSINESS",
    "businessName": {
      "name1": "Financial Data Exchange"
    },
    "address": {
      "line1": "12020 Sunrise Valley Dr",
      "city": "Reston",
      "region": "VA",
      "postalCode": "20191",
      "country": "US"
    }
  },
  "recipient": {
    "tin": "xxx-xx-1234",
    "partyType": "INDIVIDUAL",
    "individualName": {
      "first": "Kris",
      "middle": "Q",
      "last": "Public"
    },
    "address": {
      "line1": "1 Main St",
      "city": "Melrose",
      "region": "NY",
      "postalCode": "12121",
      "country": "US"
    }
  },
  "taxDataType": "JSON",
  "forms": [
    {
      "tax1099Div": {
        "taxYear": 2024,
        "taxFormId": "9876987698769876",
        "taxFormDate": "2024-03-30",
        "foreignAccountTaxCompliance": false,
        "ordinaryDividends": 1107,
        "qualifiedDividends": 1208,
        "totalCapitalGain": 2109,
        "foreignTaxPaid": 4014,
        "foreignCountry": "Mexico"
      }
    }
  ]
}

Supported data elements

Tax Form TypeSupported Data Elements
Tax1099DivordinaryDividends, qualifiedDividends, totalCapitalGain, unrecaptured1250Gain, section1202Gain, collectiblesGain, nonTaxableDistribution, section199ADividends, investmentExpenses, foreignTaxPaid, foreignCountry, federalTaxWithheld, cashLiquidation, nonCashLiquidation, taxExemptInterestDividend, specifiedPabInterestDividend, stateAndLocalTaxWithholding, foreignAccountTaxCompliance, taxWithheld, income, stateCode, state, local
Tax1099IntinterestIncome, usBondInterest, earlyWithdrawalPenalty, federalTaxWithheld, investmentExpenses, foreignTaxPaid, foreignCountry, taxExemptInterest, specifiedPabInterest, marketDiscount, bondPremium, usBondPremium, taxExemptBondPremium, cusipNumber, stateAndLocalTaxWithholding, foreignAccountTaxCompliance, taxWithheld, income, stateCode, state, local
Tax1099BsecurityName, numberOfShares, saleDescription, dateAcquired, dateOfSale, salesPrice, costBasis, accruedMarketDiscount, adjustmentCodes, correctedCostBasis, washSaleLossDisallowed, longOrShort, ordinary, collectible, qof, federalTaxWithheld, noncoveredSecurity, grossOrNet, basisReported, stateAndLocalTaxWithholding, cusip, foreignAccountTaxCompliance, taxWithheld, income, stateCode, state, local
Tax1099RgrossDistribution, taxableAmount, federalTaxWithheld, stateTaxWithheld, stateAndLocalTaxWithholding, distributionCode, iraSepSimple, totalDistribution, pensionAnnuityTaxableAmount, employeeContributions, loanOffsetAmount, taxableAmountNotDetermined, taxWithheld, income, stateCode, state, local
Tax1099GunemploymentCompensation, taxableGrants, federalTaxWithheld, stateTaxWithheld, stateAndLocalTaxWithholding, stateOrLocalIncomeTaxRefunds, agriculturalPayments, economicImpactPayment, taxableInterest, taxWithheld, income, stateCode, state, local
Tax1098mortgageInterestReceived, pointsPaid, propertyTaxes, privateMortgageInsurance, loanOriginationDate, outstandingMortgagePrincipal, federalTaxWithheld, stateAndLocalTaxWithholding, mortgageAcquisitionDate, taxWithheld, income, stateCode, state, local
TaxW2wagesTipsCompensation, socialSecurityWages, medicareWages, federalTaxWithheld, stateTaxWithheld, localTaxWithheld, socialSecurityTaxWithheld, medicareTaxWithheld, retirementPlan, thirdPartySickPay, dependentCareBenefits, nonqualifiedPlans, tipsAllocated, otherCompensation, stateEmployerId, localEmployerId, localityName
Tax1042SgrossIncome, federalTaxWithheld, foreignTaxPaid, recipientTIN, incomeCode, exemptionCode, countryCode, withholdingAgentTIN, primaryWithholdingAgentTIN, intermediaryTIN, payerTIN, chapter3StatusCode, chapter4StatusCode, withholdingRate, chapterIndicator, recipientType, foreignAccountTaxCompliance
Tax8949securityName, dateAcquired, dateOfSale, salesPrice, costBasis, adjustmentAmount, gainLoss, longOrShort, washSaleLossDisallowed, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
Tax5498iraContributions, rolloverContributions, rothConversionAmount, rothContributions, requiredMinimumDistribution, fairMarketValue, designatedRothContribution, hsaContributions, medicareAdvantageMsaContributions, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
Tax1041K1beneficiaryTIN, beneficiaryName, ordinaryIncome, qualifiedDividends, capitalGains, foreignTaxPaid, deductions, taxExemptInterest, alternativeMinimumTax, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
TaxW2GgrossWinnings, federalTaxWithheld, stateTaxWithheld, localTaxWithheld, typeOfWager, transactionDate, ticketNumber, winnerTIN, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
Tax1040ScheduleCbusinessIncome, businessExpenses, netProfitOrLoss, costOfGoodsSold, depreciation, businessUseOfHome, mealsAndEntertainment, utilities, supplies, insurance, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
CryptocurrencyTaxStatementtotalCryptoSales, totalCryptoPurchases, cryptoCapitalGains, cryptoCapitalLosses, cryptoMiningIncome, cryptoForkIncome, cryptoAirdropIncome, cryptoTransactionFees, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
FarmIncomeStatementtotalFarmIncome, totalFarmExpenses, netFarmProfitOrLoss, livestockSales, cropSales, equipmentDepreciation, feedExpenses, fertilizerExpenses, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
FarmRentalIncomeStatementtotalFarmRentalIncome, farmRentalExpenses, netFarmRentalProfitOrLoss, landRentalFees, irrigationExpenses, equipmentMaintenance, insurance, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local
RentalIncomeStatementtotalRentalIncome, rentalExpenses, netRentalProfitOrLoss, propertyManagementFees, mortgageInterest, propertyTaxes, maintenanceRepairs, depreciation, insurance, stateAndLocalTaxWithholding, taxWithheld, income, stateCode, state, local