GET
/
v1
/
businesses
/
{businessId}
/
reports
/
tax-packets
List tax packets
curl --request GET \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/reports/tax-packets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "business_id": "<string>",
    "year": 123,
    "start_date": "2023-11-07T05:31:56Z",
    "end_date": "2023-11-07T05:31:56Z",
    "status": "PENDING",
    "created_at": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z",
    "download_urls": {
      "profit_and_loss": "<string>",
      "general_ledger": "<string>",
      "account_transactions": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business to fetch tax packets for

Query Parameters

include_archived
boolean
default:false

Whether to include archived tax packet requests

year
integer

Filter tax packets by year

Response

List of tax packet requests

id
string

Unique identifier for the tax packet request

business_id
string

Business ID the tax packet belongs to

year
integer

Tax year for the packet

start_date
string<date-time>

Start date of the tax packet period

end_date
string<date-time>

End date of the tax packet period

status
enum<string>

Status of the tax packet generation

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
created_at
string<date-time>

When the tax packet request was created

completed_at
string<date-time>

When the tax packet generation was completed

download_urls
object

Download URLs for tax packet components