Search invoice templates
Search invoice templates for all entities in the organization
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
entityId
Filter invoice templates by the ID or foreign ID of the entity that is the payer or the vendor of the invoice template.
startDate
Start date filter. Defaults to CREATED_AT unless specified the dateType is specified
endDate
End date filter. Defaults to CREATED_AT unless specified the dateType is specified
dateType
Type of date to filter by if startDate and endDate filters are provided. Defaults to CREATED_AT.
orderBy
Field to order invoice templates by. Defaults to CREATED_AT.
orderDirection
Direction to order invoice templates by. Defaults to asc.
Allowed values:
limit
Number of invoice templates to return. Limit can range between 1 and 100, and the default is 10.
startingAfter
The ID of the invoice template to start after. If not provided, the first page of invoice templates will be returned.
search
Find invoice templates by vendor name, check number, invoice number, or amount. Partial matches are supported.
metadata
Filter invoice templates by metadata. Each filter will be applied as an AND condition. Duplicate keys will be ignored.
lineItemMetadata
Filter invoice templates by line item metadata. Each filter will be applied as an AND condition. Duplicate keys will be ignored.
lineItemGlAccountId
Filter invoice templates by line item GL account ID. Each filter will be applied as an OR condition. Duplicate keys will be ignored.
payerId
Filter invoice templates by payer ID or payer foreign ID.
vendorId
Filter invoice templates by vendor ID or vendor foreign ID.
creatorUserId
Filter invoices by the ID or foreign ID of the user that created the invoice.
approverId
Filter invoice templates by assigned approver user ID.
approverAction
Filter invoice templates by approver action. Needs to be used with approverId. For example, if you want to find all invoice templates that have been approved by a specific user, you would use approverId and approverAction=APPROVE.
Allowed values:
invoiceId
Filter invoice templates by invoice ID.
status
Invoice status to filter on
paymentType
Filter invoice templates by recurring status
Allowed values:
Response
This endpoint returns an object.
count
Total number of invoice templates for the given filters. This value is not limited by the limit parameter. It is provided so that you can determine how many pages of results are available.
hasMore
True if there are more invoice templates available for the given filters.
data