query AsyncReport($input: AsyncReportInput!) {
asyncReport(input: $input) {
items {
description
expiresDateTime
fileName
fileSize
fileType
generatedDateTime
isCompressed
presenter {
businessName
id
}
reportId
requestedDateTime
requestId
status
tags
url
user {
defaultOrganizationId
email
id
isExpenseApprover
jobTitle
lastLoggedInDateTime
name
phoneNumber
status
type
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
{
"data": {
"asyncReport": {
"items": [
{
"description": "example",
"expiresDateTime": "2026-01-15T14:30:00Z",
"fileName": "business-license.pdf",
"fileSize": 0,
"fileType": "CSV",
"generatedDateTime": "2026-01-15T14:30:00Z",
"isCompressed": true,
"presenter": {
"businessName": "Clacksworth Keyboards",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"reportId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"requestedDateTime": "2026-01-15T14:30:00Z",
"requestId": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"status": "RECEIVED",
"tags": [
"example"
],
"url": "example",
"user": {
"address": "example",
"defaultOrganizationId": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"email": "example",
"embeddedBankAccounts": [
"example"
],
"externalBankAccounts": [
"example"
],
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"isExpenseApprover": true,
"jobTitle": "example",
"lastLoggedInDateTime": "2026-01-15T14:30:00Z",
"name": "Ben Torres",
"organization": "example",
"permissions": [
"example"
],
"phoneNumber": "example",
"status": "ACTIVE",
"type": "APP"
}
}
],
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true
}
}
}
}
Reporting
asyncReport
This query returns that status of the async reports
query AsyncReport($input: AsyncReportInput!) {
asyncReport(input: $input) {
items {
description
expiresDateTime
fileName
fileSize
fileType
generatedDateTime
isCompressed
presenter {
businessName
id
}
reportId
requestedDateTime
requestId
status
tags
url
user {
defaultOrganizationId
email
id
isExpenseApprover
jobTitle
lastLoggedInDateTime
name
phoneNumber
status
type
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
{
"data": {
"asyncReport": {
"items": [
{
"description": "example",
"expiresDateTime": "2026-01-15T14:30:00Z",
"fileName": "business-license.pdf",
"fileSize": 0,
"fileType": "CSV",
"generatedDateTime": "2026-01-15T14:30:00Z",
"isCompressed": true,
"presenter": {
"businessName": "Clacksworth Keyboards",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"reportId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"requestedDateTime": "2026-01-15T14:30:00Z",
"requestId": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"status": "RECEIVED",
"tags": [
"example"
],
"url": "example",
"user": {
"address": "example",
"defaultOrganizationId": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"email": "example",
"embeddedBankAccounts": [
"example"
],
"externalBankAccounts": [
"example"
],
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"isExpenseApprover": true,
"jobTitle": "example",
"lastLoggedInDateTime": "2026-01-15T14:30:00Z",
"name": "Ben Torres",
"organization": "example",
"permissions": [
"example"
],
"phoneNumber": "example",
"status": "ACTIVE",
"type": "APP"
}
}
],
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true
}
}
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
Query
Arguments
Show child attributes
Show child attributes
Show child attributes
Show child attributes
See SortingEnumType
See PagingInput
Return type
AsyncReportRequestCollection
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The address of the user.See AddressOutput
The id of the organization that the user is associated with.
The email address of the user.
External bank accounts that this user has been granted access to
Show child attributes
Show child attributes
Last four digits of the account number
Unique identifier for the external bank account
Name on the external bank account
Display name for the external bank account
Bank routing number
Type of bank account (Checking or Savings)See BankAccountType
The id of the user as defined in their profile.
Whether the user is an expense approver.
The job title of the user.
Last time the user logged in.
The display name of the user.
See Organization
The phone number of the user.
The status of the user.
query AsyncReport($input: AsyncReportInput!) {
asyncReport(input: $input) {
items {
description
expiresDateTime
fileName
fileSize
fileType
generatedDateTime
isCompressed
presenter {
businessName
id
}
reportId
requestedDateTime
requestId
status
tags
url
user {
defaultOrganizationId
email
id
isExpenseApprover
jobTitle
lastLoggedInDateTime
name
phoneNumber
status
type
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
{
"data": {
"asyncReport": {
"items": [
{
"description": "example",
"expiresDateTime": "2026-01-15T14:30:00Z",
"fileName": "business-license.pdf",
"fileSize": 0,
"fileType": "CSV",
"generatedDateTime": "2026-01-15T14:30:00Z",
"isCompressed": true,
"presenter": {
"businessName": "Clacksworth Keyboards",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"reportId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"requestedDateTime": "2026-01-15T14:30:00Z",
"requestId": "c9a1e2d3-4b5f-6789-0abc-def123456789",
"status": "RECEIVED",
"tags": [
"example"
],
"url": "example",
"user": {
"address": "example",
"defaultOrganizationId": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
"email": "example",
"embeddedBankAccounts": [
"example"
],
"externalBankAccounts": [
"example"
],
"id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
"isExpenseApprover": true,
"jobTitle": "example",
"lastLoggedInDateTime": "2026-01-15T14:30:00Z",
"name": "Ben Torres",
"organization": "example",
"permissions": [
"example"
],
"phoneNumber": "example",
"status": "ACTIVE",
"type": "APP"
}
}
],
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true
}
}
}
}
Was this page helpful?
⌘I