Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Wine
  3. French GAMMA2 EDI API for Wine Excise Documents (DAE / DSA) v 19.0
  4. Sales Conditions FAQ

French GAMMA2 EDI API for Wine Excise Documents (DAE / DSA)

by Viyug Infotech https://viyuginfotech.com
Odoo

$ย 510.60

v 19.0 Third Party 1
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
DAE and DSA sent to French customs from the delivery.

GAMMA2 EDI VIA API FOR THE WINE & VINEYARD ERP

DAE and DSA sent to French customs from the delivery.

Submit the excise document and Odoo sends it to GAMMA2 through the customs EDI-via-API service. The ARC, rejections, reports of receipt and cancellations come back on their own and update the document. Requires the customs EDI-via-API agreement, an API account enabled for GAMMA2 and the certification of the connection.

FRA815 DAEMVVDSAARC backReplaysCertification

5 outbound
FRA815, MVVDSA, FRA810, FRA813, FRA900
20+ inbound
call-backs handled, replays ignored
29 test cases
from the official certification books

Free setup call with every purchase

After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).

Try it live

One demo winery runs the whole wine & vineyard family with a full season of data. No sign-up needed.

Opens directly as the cellar manager of the demo estate on Odoo 20 Enterprise: dashboard, parcels, harvest, cellar, bottling, lots and every add-on of the family. The GAMMA2 screens are there to look at; sending documents to customs needs your own customs API account.

Click Live Preview at the top of this page, or open:

wine-demo.viyuginfotech.com/try-demo

The demo is shared with other visitors, so please do not enter real data.

Before and after

For French wineries that ship under excise documents every day.

Before

  • Every DAE typed again in the GAMMA2 portal
  • ARC copied back by hand, receipts checked one by one
  • A gateway outage means documents silently not sent
  • Certification test cases followed on paper

After

  • Submit in Odoo: the document goes to GAMMA2 with the right headers and token
  • ARC, rejections and receipts update the document automatically
  • Failed calls replayed on the customs schedule, with alerts when they give up
  • Certification campaign with the official cases and the answers received

What you get

๐Ÿ”‘

OAuth2 the way customs ask

Password grant with the API account, the 5-minute token reused until it expires and renewed after a 401. Client id and secret when customs provide them.

๐Ÿ“ค

Outbound messages

FRA815 e-AD creation, MVVDSA DSA creation and cancellation, FRA810 cancellation, FRA813 change of destination and FRA900 status requests, validated against the official contract.

๐Ÿ“ฅ

Call-backs from GAMMA2

FRA801 (ARC), FRA906 / FRA917 rejections, MVVDSACONF, FRA818 receipts, FRA819, FRA803, FRA807, FRA881 and more, protected by the inbound token and processed once.

๐Ÿ”

Replays and alerts

Network errors, 5xx, 408 and 429 replayed on the customs tiers (1, 5, 15, 30 minutes, then hourly); an activity is raised when a message gives up or GAMMA2 stays silent.

๐Ÿ“ฐ

Message journal

Every exchange with payload, headers, HTTP status and answer, linked to its excise document and kept in the connector log.

๐Ÿงช

Certification workspace

Campaigns with the consignor cases of the official DAE and MVV/DSA test books, model documents, second steps and the expected versus received answers.

๐Ÿงญ

Setup wizard

Agreement, API account, call-back URL and inbound token, authentication test and go live, in the order customs require.

๐Ÿ”„

Synchronisation cron

Validated movements without a report of receipt are synchronised with FRA900 once a day.

๐Ÿ›ก

Credentials kept safe

API password, client secret and inbound token visible to compliance officers only; the inbound token is compared in constant time.

Compared with typical alternatives

FeatureThis appTypical alternatives
Sends DAE and DSA to GAMMA2From the excise document, one clickTyped in the portal
ARC and receipts back in OdooAutomatic call-backsCopied by hand
Outage handlingReplays on the customs schedule, alertsLost or duplicated
Official contract validationEvery outbound messageNone
Certification supportOfficial test cases with resultsPaper checklist
Guided onboardingFive-step setup wizardTechnical project

How it works

1

Submit the excise document of a delivery: Odoo builds the FRA815 or MVVDSA message and sends it with a fresh or cached token.

2

Taken in charge GAMMA2 answers HTTP 200; the document shows "Sent, awaiting GAMMA2".

3

Answer GAMMA2 calls your Odoo back with the ARC or the rejection reasons; the document is validated or rejected.

4

Receipt the report of receipt closes the movement; refusals raise an activity.

5

Follow up cancel, change the destination or synchronise from the document; every message stays in the journal.

Setup in 5 steps

The setup wizard walks you through them.

1

Agreement sign the EDI-via-API contract with customs (certification-edi).

2

API account created in Correspondant Entreprise and enabled for GAMMA2 on your excise numbers.

3

Call-back declare your HTTPS call-back URL and the inbound token generated by Odoo.

4

Test the authentication on the integration environment, then run the certification cases.

5

Go live once certified, switch to production with the production credentials.

User guide

A step-by-step PDF guide with real screenshots: one guide for the whole Wine & Vineyard family, with every menu, the setup and each screen in the order you use them.

What is inside

  • The apps, what each does and the menus
  • Backend theme and the app menu
  • Core ERP: roles, settings, dashboard
  • Vineyard, harvest and weighbridge
  • Winemaking, fermentation and cellar
  • Blending, lab quality and bottling
  • Lot genealogy and recalls
  • Declarations, excise documents, stamps
  • Cost per lot and per bottle
  • French customs files and GAMMA2
  • Wine cost accounting
  • Cooperative and grape purchases
  • Vineyard leases
  • Sparkling wine
  • Sustainability
  • Wine tourism and wine club
  • Vineyard field app

Open it in your browser:

viyuginfotech.com/guide/viyug_wine_gamma2
QR code to open the user guide

Scan to open the guide

PDF with screenshots, opens on your phone

Workflow walkthrough

Fictional estate; the customs servers are replaced by a local test server for these screenshots.

1

Start the setup wizard

Step one recalls the agreement customs require and keeps its date on the connector.

Start the setup wizard
2

Enter the API account

Environment, token and API URLs, API account, password and sender SIRET. Secrets are stored on the connector only.

Enter the API account
3

Declare the call-back

Copy the call-back URL and the inbound token, shown once, into Correspondant Entreprise.

Declare the call-back
4

Test the authentication

Odoo asks the authorisation server for a token with the saved account. Nothing is sent to GAMMA2.

Test the authentication
5

Submit the excise document

The FRA815 message is sent and taken in charge; the document waits for GAMMA2.

Submit the excise document
6

Receive the ARC

GAMMA2 calls back with FRA801: the document is validated with its ARC, the report of receipt follows.

Receive the ARC
7

Follow every exchange

The message journal shows payloads, HTTP status, attempts and the next replay.

Follow every exchange
8

Run the certification

Load the official test cases, run them with the certifier and see expected versus received answers.

Run the certification

What you need

This app is built on the Viyug Infotech apps below. Odoo installs them together with this app, so you also get everything they do.

French Customs Localisation (Wine)

Technical name viyug_wine_l10n_fr

French customs files for the wine ERP: VENDANGES, STOCK, CIEL DRM and GAMMA2 drafts.

  • VENDANGES harvest declaration in the official DTI+ JSON
  • STOCK declaration XML at 31 July
  • CIEL monthly excise return (DRM) and CRD capsule accounts
  • GAMMA2 DAE and DSA drafts from deliveries
  • Official product list import and an upload checklist with live status
  • Filed files locked, hashed and kept with the receipt
French Customs Localisation (Wine): Checklist
French Customs Localisation (Wine): Vendanges
French Customs Localisation (Wine): Ciel

Wine & Vineyard ERP

Technical name viyug_wine_erp ยท comes with French Customs Localisation (Wine)

Vineyard-to-bottle ERP: parcels, vineyard work, harvest, cellar, blending, bottling and lots.

  • Parcels with variety, planting year, soil and designation
  • Vineyard work orders, weather and maturity tracking
  • Harvest reception at the weighbridge into tanks and lots
  • Fermentation, vessels, blending and bottling
  • Lot traceability and recalls that list every customer
  • Cost per bottle by parcel, vintage and wine
Wine & Vineyard ERP: Dashboard
Wine & Vineyard ERP: Parcel form
Wine & Vineyard ERP: Blend

Wine & Vineyard Backend Theme

Technical name viyug_wine_base ยท comes with Wine & Vineyard ERP

The shared look and design kit of the Viyug wine and vineyard apps.

  • Wine-red accent and limestone palette
  • Display headings with fonts shipped inside the module
  • Vineyard home menu illustration with Enterprise
  • Light and dark mode
  • Shared design kit: dashboard tiles, KPI cards, status pills
  • One switch in General Settings turns the theme off and on
Wine & Vineyard Backend Theme: Home light
Wine & Vineyard Backend Theme: Kanban dark
Wine & Vineyard Backend Theme: Design kit

FAQ

Do I need an agreement with customs?

Yes. GAMMA2 EDI via API needs the customs EDI-via-API contract, an API account enabled for GAMMA2 and the certification of the connection on the test environment. Without them, keep using the GAMMA2 portal: the French Customs Localisation app builds the DTI+ draft file of each document.

Can I try it before the agreement?

You can install it, run the setup wizard and prepare the certification campaign. Real exchanges, even on the customs test environment, need the credentials customs give with the agreement.

What does my server need?

An HTTPS address reachable from the Internet for the call-backs, with this database selected without a session (single database or dbfilter). Optional: the Python package jsonschema to validate every outbound message.

Which messages are not covered?

The consignee side (issuing reports of receipt), explanations on delay or shortages, splitting and MVV documents. Use the GAMMA2 portal for those.

What happens when GAMMA2 is down?

The message stays queued and is replayed on the customs schedule; after the last attempt it is marked in error and an activity is created on the document.

Release notes

Initial release

  • OAuth2 password grant with token reuse and the official GUN headers
  • FRA815, MVVDSA, FRA810, FRA813 and FRA900, validated against the v4.3.0 contract
  • Call-back endpoint with inbound token and idempotent processing
  • Replays on the official tiers, synchronisation cron, setup wizard and certification workspace

Extensions

The wine and vineyard family by Viyug Infotech.

Wine & Vineyard Backend Theme

The family look, vineyard home menu, dark mode and design kit.

viyug_wine_base

Wine & Vineyard ERP

Parcels, vineyard work, harvest and weighbridge, cellar, blending, bottling, lots, recalls and costing.

viyug_wine_erp

French Customs Localisation

VENDANGES, STOCK and CIEL files, GAMMA2 DTI+ drafts, French codes and checklist.

viyug_wine_l10n_fr

GAMMA2 EDI API

DAE and DSA sent to French customs, ARC and receipts back automatically.

You are here

Wine Accounting

Bottles valued at production cost, bulk wine in progress, vendor bill cost allocation.

viyug_wine_account

Wine Cooperative

Members, grape deliveries, quality-based payment grids and settlements.

viyug_wine_cooperative

Sparkling Wine

Tirage, bottles on lees, riddling, disgorgement and dosage.

viyug_wine_sparkling

Vineyard Leases

Cash-rent and share-crop leases, indexed rent, owner bills and notice dates.

viyug_wine_leasing

Vineyard Sustainability

Water and energy meters, by-products, treatment indicators and audits.

viyug_wine_sustainability

Wine Tourism

Experiences, time slots, bookings, guides and cellar-door sales.

viyug_wine_tourism

Wine Club

Club tiers, members, shipment allocation and recurring orders.

viyug_wine_club

Vineyard Field App

Phone-friendly app for vineyard teams, works offline.

viyug_wine_field_app

Need a hand?

Questions about the customs agreement, the API account or the certification? Write to us and Viyug Infotech will get back to you.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to open the live demo, chat on WhatsApp or write us an email:

Live demo QR code

Live demo

wine-demo.viyuginfotech.com
/try-demo

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Employees (hr)
• Inventory (stock)
• Maintenance (maintenance)
• Invoicing (account)
Community Apps Dependencies Show
• Wine & Vineyard ERP: French Customs Localisation (VENDANGES, STOCK, CIEL DRM, GAMMA2 DTI+)
• Wine & Vineyard ERP: Winery Management, Harvest, Cellar, Barrels, Bottling, Lot Traceability
• Wine & Vineyard Backend Theme: Winery Look, Community App Menu, Vineyard Home Menu, Light and Dark Mode
Lines of code 17192
Technical Name viyug_wine_gamma2
LicenseOPL-1
Websitehttps://viyuginfotech.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal โ€ข Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with