GenAiHub

Last checked 8 October 2026 — responded normally.

Count Xero invoices, bills, and credit notes with a voided/deleted filter

Quick overview

Live
Open / InstallLast updated October 8, 2026

Description

Quick overview This workflow runs on manual execution to count Xero Accounting records: sales invoices, bills, and sales/bill credit notes; with an optional filter to exclude VOIDED and DELETED statuses, returning a simple tally per record type. How it works Starts when you manually execute the workflow in n8n. Sets an option that controls whether VOIDED and DELETED records are included in the counts. Calls Xero’s Connections endpoint to retrieve the tenant ID(s) used to authenticate subsequent Accounting API requests. Queries the Xero Accounting API for sales invoices (ACCREC) and bills (ACCPAY), paging through results and counting returned invoice records. Queries the Xero Accounting API for sales credit notes (ACCRECCREDIT) and bill credit notes (ACCPAYCREDIT), paging through results and counting returned credit note records. Combines the four tallies into a single output list of { type, count } results. Setup Create and select a Xero OAuth2 credential in n8n with access to the target Xero organisation(s). If your Xero credential can access multiple tenants, adjust the workflow to target a single tenant if you need per-organisation counts. Set includeVoidedDeleted to true if you want to include VOIDED and DELETED records; otherwise leave it false to exclude them. Requirements Xero OAuth2 credential in n8n. An n8n automation workflow template by Sobek.

Community Metrics

Views
1
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Sobek

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • http-request
  • code

Capabilities

  • 2 nodes
  • 1 views

Information

TypeWorkflow
Sourcen8n
AddedJuly 27, 2026

Comments

?

Others in the same category, ranked by how often they are opened.