cyberneticlibrary

Automate Square payments and invoices

square-automationskillsetup L23,035
davepoon/buildwithclaude
What it does

Automate Square payments, orders, invoices, and customer management at scale

Best for

When managing multi-location Square operations that need pagination, versioning safety, and bulk filtering across customers/orders/invoices

Inputs
  • · customer email/name
  • · amount (cents)
  • · currency
  • · order filters
  • · location_id
Outputs
  • · payment confirmation with ID
  • · order list with pagination
  • · invoice details
  • · customer record
Requires
  • · Rube MCP
  • · Composio Square toolkit
  • · RUBE_MANAGE_CONNECTIONS
Preconditions
  • · Rube MCP connected
  • · Active Square OAuth
  • · Location IDs resolved first
Failure modes
  • · Duplicate customers created (search first)
  • · Amount not in smallest currency unit (cents)
  • · VERSION mismatch on UPDATE_ORDER/CANCEL_INVOICE
  • · location_id required but missing
Trust signals
  • · Payment ID format documented (starts 'cus_')
  • · RFC 3339 timestamp format enforced
  • · Detailed pitfalls for rate limits and ID resolution