Search invoices
documentedSearch invoices for a location.
POST /v2/invoices/searchInvoicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://connect.squareup.com/v2/invoices/search" \
-X POST \
-H 'Square-Version: 2026-01-22' \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-d '{"query": {"filter": {"location_ids": ["{{$location_id}}"], "customer_ids": ["{{$customer_id}}"]}, "sort": {"field": "INVOICE_SORT_DATE", "order": "DESC"}}, "limit": {{$limit}}, "cursor": "{{$cursor}}"}'