Browse docs

Supplier invoices

List

GET/supplier-invoices

q
In the query: text, up to 120 characters.
view
In the query: one of open, unmatched, matched, checked_in, dismissed, all. Default all.
vendorIds
In the query: list of id starting with VE_, up to 50.
locationIds
In the query: list of id starting with LO_, up to 50.
sort
In the query: one of date, number, vendor, location, po, total, status. Default date.
dir
In the query: one of asc, desc. Default desc.
limit
In the query: integer, 1 to 200. Default 100.
cursor
In the query: text. Where the next page starts. Opaque: follow the next URL from the last answer, which carries it.
curl "http://app.telltailhq.com/api/v1/supplier-invoices" \
  -H "Authorization: Bearer tt_pat_your_token"

Vendors

GET/supplier-invoices/vendors

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/supplier-invoices/vendors" \
  -H "Authorization: Bearer tt_pat_your_token"

Get

GET/supplier-invoices/{id}

idRequired
In the path: id starting with SI_.
curl "http://app.telltailhq.com/api/v1/supplier-invoices/{id}" \
  -H "Authorization: Bearer tt_pat_your_token"

Suggestions

GET/supplier-invoices/{id}/suggestions

idRequired
In the path: id starting with SI_.
curl "http://app.telltailhq.com/api/v1/supplier-invoices/{id}/suggestions" \
  -H "Authorization: Bearer tt_pat_your_token"

New items

GET/supplier-invoices/{id}/new-items

idRequired
In the path: id starting with SI_.
curl "http://app.telltailhq.com/api/v1/supplier-invoices/{id}/new-items" \
  -H "Authorization: Bearer tt_pat_your_token"