Monthly invoices
Generate QuickBooks-ready CSVs from the master booking data. Pulls bookings from the chosen month, groups by agent and emits one invoice per agent per company.
1. Pick the period & starting numbers
Yanature and Nature Discoveries are generated separately.Defaults to 11th of next month
Defaults to invoice date + 30 days
QuickBooks Online connections
Connect each company once. Tokens auto-refresh forever.Checking connection statusβ¦
How this works
β ONE-TIME SETUP β create the Accounting Master sheet
- The dedicated Yanature Accounting Master Google Sheet pulls each month's bookings from YN + ND, keeps only rows where
MODE OF PAYMENTcontains "INVOICE", and exposes a clean Web App for this site to read. - Click Load bookings β app refreshes that sheet's
bookings_YYYY-MMtab live, then renders the invoice preview. - For OTAs (Viator, GYG, etc.) the
REFcolumn is the ItemDescription (voucher). For local agencies without a REF, theNAMEis used. - Download the CSV per company β upload into QuickBooks. The app logs every generated invoice in the
invoices_logtab.
β ONE-TIME SETUP β create the Accounting Master sheet
- Create a new blank Google Sheet, name it Yanature Accounting Master.
- Inside it β Extensions β Apps Script.
- Replace the default
Code.gswith the file Claude provided (YanatureAccountingGas.gson your desktop). - Save, then from the editor toolbar select function
setupβ Run (authorise when prompted). - Run function
installDailyTriggeronce (sets auto-refresh at 3am). - Deploy β New deployment β Web app β Execute as: Me, Who has access: Anyone β Deploy. Copy the Web app URL.
- Click β Settings in the sidebar here β paste that URL β Save.
- Click Load bookings. Done β fully automated from now on.