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
}
}
}
}
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
Show child attributes
Show child attributes
AsyncReportRequestCollection
Show child attributes
Show child attributes
Show child attributes
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?