Back to TeamworkReturn open invoices across all projects
Count the number of open invoices on all projects that the logged-in user has
access.
Input
type: object
properties:
parameters:
type: object
properties:
onlyStarredProjects:
type: boolean
description: filter by starred projects only
matchAllProjectTags:
type: boolean
description: match all project tags
includeArchivedProjects:
type: boolean
description: include archived projects
projectTagIds:
type: array
items:
type: integer
description: filter by project tag ids
projectStatuses:
type: array
items:
enum:
- active
- current
- late
- upcoming
- completed
- deleted
type: string
description: project status
projectOwnerIds:
type: array
items:
type: integer
description: filter by project owner ids
projectIds:
type: array
items:
type: integer
description: filter by project ids
projectHealths:
type: array
items:
enum:
- '0'
- '1'
- '2'
- '3'
type: integer
description: |-
project health
0: not set
1: bad
2: ok
3: good
projectCompanyIds:
type: array
items:
type: integer
description: filter by company ids
projectCategoryIds:
type: array
items:
type: integer
description: filter by project category ids
title: Parameters
Output
type: object
title: ProjectMetricInvoicesResponse
properties:
data:
type: object
properties:
value:
type: integer