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
    • Approvals
    • 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
    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. Delivery
  3. Logistics KSA SABER v 19.0
  4. Sales Conditions FAQ

Logistics KSA SABER

by ERP Heritage https://www.erpheritage.com.au/
Odoo
v 19.0 Third Party 21
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Sales (sale_management)
• Purchase (purchase)
• Discuss (mail)
Community Apps Dependencies Show
• Customs Broker
• Logistics KSA
• Logistics Suite Base
• Freight Forwarding
• Logistics Quotation
Lines of code 11066
Technical Name eh_log_l10n_sa_saber
LicenseLGPL-3
Websitehttps://www.erpheritage.com.au/
Versions 16.0 17.0 18.0 19.0
ERP Heritage · Logistics Suite
ERP Heritage Logistics Suite

KSA SABER Conformity Adapter

Model, submit, and track Saudi SABER product and shipment conformity certificates inside your Odoo logistics flow.

Free · LGPL-3Odoo 19 Communityv19.0.1.0.0v19.0.1.0.0
PCoC model
SCoC model
SABER adapter
Pre-flight gates
HS code linked

Why this module

KSA SABER Conformity Adapter

01 / DEPTH

Two real conformity models, not field stubs

PCoC carries product identity, HS code, manufacturer, SASO regulation, scope, applicant, and validity. SCoC carries the customs declaration link, parties, and lines that each reference an issued PCoC with the actual shipment quantity and value. Both are guarded by an explicit state machine.

02 / CONTRACT

A concrete SABER adapter, not a placeholder

The adapter serialises both certificate types into the documented SABER JSON envelope, dispatches over HTTPS with bearer auth pulled from the credentials store, parses the regulator response, and surfaces the issued PCoC or SCoC number back onto the record. Implemented to documented contract patterns; live sandbox verification is deferred until customer credentials are configured.

03 / SAFETY

Submissions that refuse to leave with a hole

SCoC submission runs a pre-flight check first. It blocks when the certificate has no lines, when any line points at a PCoC that is not in issued state, when a referenced PCoC is expired, or when no regulator profile is set. State changes are forced through action buttons; direct state writes are rejected.

Day in the life

From product certificate to cleared shipment.

An importer holds a Product Certificate of Conformity for a regulated speaker model. A new container lands, so the operator opens a Shipment Certificate of Conformity, links the customs declaration, adds a line that references the issued PCoC with the real quantity and invoice value, and clicks Submit to SABER. The pre-flight check confirms the PCoC is issued and unexpired, the adapter posts the documented envelope, and the returned SCoC number lands on the record and is appended to the customs declaration notes for the downstream FASAH payload. Every transition posts to the chatter and logs an append-only event.

Edge cases

The cases most modules quietly ignore.

In the shipped code today, each one a place where a cheaper module silently does the wrong thing.

EXPIRED PCOC

An SCoC line that references a PCoC whose valid_to has passed is caught by the pre-flight check, which names the line, the PCoC, and the expiry date, and blocks submission rather than sending an invalid reference.

UN-ISSUED REFERENCE

If a line points at a PCoC still in draft or submitted state, submission is refused with the offending line sequence and the PCoC's current state, so a shipment can never cite a certificate the regulator has not granted.

REGULATOR REJECTION

When SABER returns a rejection for a PCoC or SCoC, the adapter parses the error code and message, the certificate moves to its rejected path where defined, and the failure is posted to the chatter for the operator.

STATE TAMPERING

Both models reject direct writes to the state field. Every transition must go through an action button, runs through an allowed-transitions table, and logs an append-only event with the from and to state.

DUPLICATE REFERENCE

A database constraint enforces that the regulator-issued PCoC and SCoC numbers are unique per company, so the same issued reference cannot be recorded twice.

MOCK BY DEFAULT

The seeded SABER profile installs in mock mode against fixtures, so a fresh install exercises the full submit and parse round trip in tests and demos without live credentials or network calls.

What is inside

Built to do the job, end to end.

  • Product Certificate of Conformity (PCoC). Model eh.log.l10n.sa.saber.product.cert holds product name and model, HS code linked to the customs HS code register, manufacturer and country, SASO regulation, scope, applicant, requested and issued validity, and the regulator reference. Sequence-numbered, chatter-tracked, multi-company scoped.
  • Shipment Certificate of Conformity (SCoC). Model eh.log.l10n.sa.saber.shipment.cert links the customs declaration, commercial invoice reference, applicant and consignee, and one or more lines. Each line references an issued PCoC and carries the actual quantity, unit of measure, invoice value, and currency, with the PCoC status and expiry mirrored onto the line.
  • SABER adapter. A concrete subclass of the suite base adapter, registered under provider code saber. It serialises pcoc_submit and scoc_submit into the documented JSON envelope, parses the regulator response for the issued number, validity, status, and structured errors, sets headers and endpoints, and pulls the API key from the credentials store.
  • State machines and audit. Explicit allowed-transition tables for both certificate types, a write guard that blocks direct state edits, and an append-only event logged on every transition. Submit, mark issued, mark expired, revoke, cancel, and reset-to-draft are exposed as guarded action buttons.
  • Pre-flight submission check. Before an SCoC is sent, the module verifies it has lines, every line references an issued and unexpired PCoC, and a regulator profile is set. Blockers are collected and raised together as a single, readable customs error.
  • Default profile and tests. A mock-mode SABER adapter profile is seeded at install with timeout, retry, and circuit-breaker settings. Fixture-backed tests cover adapter registration, serialise, parse for golden and rejection responses, the mock round trip, PCoC lifecycle, and the SCoC pre-flight blockers.

Honest about the edges

What this does not do, so nothing surprises you.

  • Adapter fidelity is implemented to documented SABER contract patterns and exercised in mock mode against fixtures. Live SABER sandbox verification is deferred until customer-supplied credentials are configured.
  • There is no scheduled job in this module. The certificate_status message type exists in the adapter but is not driven by any cron or button; status reconciliation is operator-initiated.
  • No certificate PDF, portal tracking page, or public link is shipped. The module provides backend list and form views only.
  • No fee ledger, costing, or invoicing is included. SCoC lines carry an invoice value and currency for the SABER payload, not an accounting posting.
  • There is no automatic hook from a freight job or sale order. Certificates are created and submitted from their own menus and reference a customs declaration explicitly.
  • This is an add-on, not a standalone app. It depends on the logistics base, customs, and KSA localisation modules and auto-installs only when customs and the KSA localisation are both present.
Search

Odoo 19 SABER, SASO conformity Odoo, Product Certificate of Conformity, Shipment Certificate of Conformity, PCoC SCoC Odoo, Saudi product conformity, KSA customs clearance Odoo, FASAH SABER reference, Saudi import regulated goods, HS code conformity, GCC freight forwarding Odoo, customs declaration add-on, Odoo 19 Community logistics, SABER adapter, SASO regulation Odoo

Languages

Available in 19 languages

The interface ships translated out of the box. Switch language in Odoo and the fields, menus, and messages follow.

ArabicChinese (Simplified)Chinese (Traditional)DutchFrenchGermanHindiIndonesianItalianJapaneseKoreanPolishPortuguese (Brazil)RussianSpanishSwedishThaiTurkishVietnamese
ERP Heritage

Production-grade Odoo accounting, built to an engineering bar and documented honestly. Support: info@erpheritage.com.au
Developed by Odoo Implementation Saudi Arabia • LinkedIn

v19.0.1.0.0 · LGPL-3 · Odoo 19 Community

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, please use the developer contact information. They can usually be found in the description.
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