OdooWiki OCA HUB

Account Invoice Download Scaleway

account_invoice_download_scaleway folder_open OCA/edi open_in_new
Accounting License: AGPL-3

This module adds a Scaleway backend to the account_invoice_download module. It allows you to auto-download Scaleway invoices via the Scaleway Billing API.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Scaleway as a supplier invoice source in the invoice download configuration, so Odoo can fetch your Scaleway invoices and their PDFs automatically through the Scaleway Billing API.

This module extends the invoice download configuration screen with a new Scaleway option. When you create or edit a download configuration and choose Scaleway as the backend, a hidden field for the Scaleway Secret key becomes visible; the key is stored securely and is required before any download can run.

  • The configuration screen is the same one used by the base invoice download module, so you manage Scaleway alongside other providers.
  • When you launch a download, Odoo queries the Scaleway Billing API for invoices, starting from the configured start date if one is set.
  • Draft Scaleway invoices (those without a number) are skipped.
  • For each invoice, Odoo reads the invoice number, currency, issue date, due date, untaxed amount and total amount.
  • For periodic invoices that have a start date, Odoo also records a service period running from that start date to the day before the same date in the next month.
  • Odoo then downloads the invoice PDF and attaches it to the invoice record.
  • If the Scaleway API cannot be reached, the download log records a failure message.
  • If the Secret key is missing, Odoo raises an error asking you to set it.

The module works on the account.invoice.download.config model and depends on the base invoice download module. It does not add new menus of its own; it adds fields and behaviour to the existing configuration form.

Models and fields (1)
  • account.invoice.download.config · extends an existing modelbackend, scaleway_secret_key

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

First, you need to create an API Key. For that, login to your Scaleway account. On the top right, click on your organization and then click on API Keys.

Go to the Applications tab, create a new application called odoo (for example). Once created, on the new odoo application, click on the three horizontal dots and select Overview: add the application to the group Billing Administrators.

Then, go to the API keys tab, and create a new API key linked to the application odoo. Write down the secret key in a safe place. Your Scaleway API key is now ready!

In Odoo, go to the menu Invoicing \> Configuration \> Import Vendor Bills \> Download Bills and create a new entry. Select Scaleway as Backend and set the Scaleway Secret Key.

Refer to the usage instructions of the module account_invoice_download.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.