PRO

Cloud storage

Keep a copy of every new or regenerated document in Google Drive or Dropbox, using your own Google or Dropbox app.

Your documents are always saved on your own server, in a protected folder. With Pro, you can also send a copy of each new or regenerated document to Google Drive or Dropbox.

Local storage stays the main copy. If a cloud upload fails, your documents are not affected.

How the connection works

You connect with your own Google or Dropbox app. You create the app once in Google's or Dropbox's developer console, then paste its keys into Vite Invoice. Your keys and access tokens are stored encrypted and are never sent to the browser.

The Storage page shows a Redirect URI. You need it when you create the app.

Connect Google Drive

  1. Go to Vite Invoice → Storage and click Connect on Google Drive.
  2. In Google Cloud Console, create a project and enable the Google Drive API.
  3. Create OAuth credentials of type Web application and add the Redirect URI shown on the page.
  4. Publish the OAuth app (set it to In production). In Testing, Google ends the connection after 7 days.
  5. Back in Vite Invoice, paste the Client ID and Client secret.
  6. In Drive folder link, paste the address of the folder you want to use. Open the folder in Google Drive and copy it from the address bar.
  7. Click Save and connect. You go to Google to allow access, then come back.

Google may say it has not verified the app. That's because it's your own app: click Advanced, then Continue.

Connect Dropbox

  1. Go to Vite Invoice → Storage and click Connect on Dropbox.
  2. In the Dropbox App Console, create an app with Scoped access.
  3. Tick the permissions files.content.write and account_info.read, and add the Redirect URI shown on the page. Dropbox needs https, except on localhost.
  4. Paste the App key and App secret.
  5. Optionally, set a Dropbox folder (optional), for example /Invoices. Leave it blank to use the app folder.
  6. Click Save and connect, allow access, and come back.

Turn on uploads

  1. Under Remote storage, turn on uploads.
  2. In Upload to, choose the connected provider. Only one provider is used at a time.
  3. Click Save.

From now on, each new or regenerated document is copied there in the background.

Check the copies

The provider card shows Connected as with the account, and progress such as "12 of 12 copied, 0 waiting, 0 failed".

  • Test connection checks that the connection works.
  • Retry failed queues failed copies again. Each copy is retried a few times by itself before it counts as failed.
  • Disconnect removes the saved keys. Waiting copies stay in the queue.

If access is lost, the page shows "Access was lost. Connect again to keep copying documents." Click Reconnect. Copies wait until you do.

Bulk exports to the cloud

The ZIP of a bulk export can go to the connected provider too. Choose it under Save to when you export, or Send to in a scheduled export.

Note: Uploads only add files. Deleting a file in Google Drive or Dropbox doesn't affect the copy on your server, and Vite Invoice never deletes files in your cloud folder.

Need Help? Chat With Us