GoCardless payouts reconciled in QuickBooks Online
When a GoCardless payout reaches your bank, this flow records each customer payment in it in QuickBooks Online and posts a summary with fees, refunds and unmatched payers to Slack.
The prompt
When a GoCardless payout is paid into our bank account, get the payout and list everything in it. For each customer payment, find the customer behind it and look them up in QuickBooks Online by name. If exactly one QuickBooks customer matches, record the payment against them, dated the day the payout arrived. If there's no match, more than one, or QuickBooks refuses it, put it on a list for a person. Then post a summary to our finance channel in Slack with the payout amount, the fees GoCardless took, any refunds, what was recorded and what still needs someone.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Inside the loop: For each item in the payout
Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works
What each step does
- Payout paid Checks GoCardless every 15 minutes for payouts that have been paid into your bank account.
- List what the payout paid Reads the payout's total, fees and arrival date, then lists every item in it: customer payments, fees, refunds and charge-backs.
- Get the payer For each customer payment, reads the mandate and the GoCardless customer who paid.
- Find the customer in QuickBooks Searches QuickBooks Online customers for the payer's company name, or their first and last name.
- One customer in QuickBooks? Only a single clear match gets recorded. No match or several matches puts the payment on the list for a person.
- Record the payment in QuickBooks Records the payment against that customer for the amount collected, dated the day the payout arrived. If QuickBooks refuses it, the payment goes on the list with QuickBooks' reason.
- Tell finance in Slack Posts the payout amount, the fees deducted, any refunds or charge-backs, the payments recorded in QuickBooks, and the ones that need a person.
Before you turn it on
- Enter the Client ID and Client Secret of your GoCardless partner app, then connect your GoCardless, QuickBooks Online and Slack accounts.
- Pick your finance channel in the step Tell finance in Slack.
- Name your QuickBooks customers the way they appear in GoCardless, by company name or by first and last name, so the lookup finds them.