Added

Invoices and invoice intake (experimental)

Two new experimental resources, scoped to a company in the path:

  • Invoices – list, summarise and retrieve supplier invoices (scope experimental:invoice:read);
  • Intakes – send incoming invoices and credit notes to a company's invoice inbox by uploading their file, and list the intakes created (scopes experimental:intake:write and experimental:intake:read).

These endpoints use cursor pagination (limit and cursor) — see Pagination.

curl --request GET \
     --url 'https://public-api.spendesk.com/v2/companies/7j6mvn11rqf7j5/invoices?limit=50' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.masked'